test/dummy/log/test.log in serializer-1.0.1 vs test/dummy/log/test.log in serializer-1.0.2
- old
+ new
@@ -13319,5 +13319,394 @@
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "updated_at" = ?, "settings" = ? WHERE "users"."id" = 593363170[0m [["updated_at", Wed, 30 Oct 2013 03:17:20 UTC +00:00], ["settings", "---\n:fb_share: true\n:tw_share: true\n"]]
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
Redirected to http://test.host/users/593363170
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
+ [1m[36m (0.3ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "accounts"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "accounts" ("name", "created_at", "updated_at", "id") VALUES ('Awesome', '2013-11-01 06:31:10', '2013-11-01 06:31:10', 593363170)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("name", "email", "settings", "created_at", "updated_at", "id", "account_id") VALUES ('Kevin', 'info@example.com', '---
+:fb_share: true
+:tw_share: true
+', '2013-11-01 06:31:10', '2013-11-01 06:31:10', 593363170, 593363170)[0m
+ [1m[35mFixture Insert (0.0ms)[0m INSERT INTO "users" ("name", "email", "created_at", "updated_at", "id") VALUES ('Kevin', 'info@example.com', '2013-11-01 06:31:10', '2013-11-01 06:31:10', 815823836)
+ [1m[36m (3.6ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+---------------------------------------------------------------
+AccountTest: test_accepts_nested_attributes_for_users_on_create
+---------------------------------------------------------------
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (2.2ms)[0m INSERT INTO "accounts" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 01 Nov 2013 06:31:10 UTC +00:00], ["name", "Personal"], ["updated_at", Fri, 01 Nov 2013 06:31:10 UTC +00:00]]
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("account_id", "created_at", "settings", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 593363171], ["created_at", Fri, 01 Nov 2013 06:31:10 UTC +00:00], ["settings", "---\n:tw_share: false\n:fb_share: false\n:tb_share: true\n"], ["updated_at", Fri, 01 Nov 2013 06:31:10 UTC +00:00]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mAccount Load (0.1ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."id" = ? ORDER BY "accounts"."id" ASC LIMIT 1[0m [["id", 593363171]]
+ [1m[35m (0.6ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+---------------------------------------------------------------
+AccountTest: test_accepts_nested_attributes_for_users_on_update
+---------------------------------------------------------------
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "accounts" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Fri, 01 Nov 2013 06:31:10 UTC +00:00], ["name", "Personal"], ["updated_at", Fri, 01 Nov 2013 06:31:10 UTC +00:00]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (1.5ms)[0m INSERT INTO "users" ("account_id", "created_at", "settings", "updated_at") VALUES (?, ?, ?, ?) [["account_id", 593363171], ["created_at", Fri, 01 Nov 2013 06:31:10 UTC +00:00], ["settings", "--- {}\n"], ["updated_at", Fri, 01 Nov 2013 06:31:10 UTC +00:00]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."account_id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["account_id", 593363171]]
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "account_id" = ?, "updated_at" = ?, "settings" = ? WHERE "users"."id" = 815823837 [["account_id", nil], ["updated_at", Fri, 01 Nov 2013 06:31:10 UTC +00:00], ["settings", "--- {}\n"]]
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("account_id", "created_at", "settings", "updated_at") VALUES (?, ?, ?, ?)[0m [["account_id", 593363171], ["created_at", Fri, 01 Nov 2013 06:31:10 UTC +00:00], ["settings", "---\n:tw_share: true\n:fb_share: false\n:tb_share: true\n"], ["updated_at", Fri, 01 Nov 2013 06:31:10 UTC +00:00]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.4ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+-----------------------------------------
+MainControllerTest: test_should_get_index
+-----------------------------------------
+Processing by MainController#index as HTML
+ Rendered main/index.html.haml within layouts/application (1.9ms)
+Completed 200 OK in 13ms (Views: 13.0ms | ActiveRecord: 0.0ms)
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+-------------------------------------------
+SerializerTest: test_serializer_is_a_module
+-------------------------------------------
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+------------------------------------------------------------------------------------
+SubscriptionTest: test_accepts_nested_attributes_from_belongs_to_side_of_association
+------------------------------------------------------------------------------------
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "settings", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 01 Nov 2013 06:31:10 UTC +00:00], ["settings", "--- {}\n"], ["updated_at", Fri, 01 Nov 2013 06:31:10 UTC +00:00]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "subscriptions" ("created_at", "updated_at", "user_id") VALUES (?, ?, ?)[0m [["created_at", Fri, 01 Nov 2013 06:31:10 UTC +00:00], ["updated_at", Fri, 01 Nov 2013 06:31:10 UTC +00:00], ["user_id", 815823837]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mSubscription Load (0.1ms)[0m [1mSELECT "subscriptions".* FROM "subscriptions" WHERE "subscriptions"."user_id" = ? ORDER BY "subscriptions"."id" ASC LIMIT 1[0m [["user_id", 815823837]]
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["id", 815823837]]
+ [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "settings" = ?, "updated_at" = ? WHERE "users"."id" = 815823837 [["settings", "---\n:notifications: true\n"], ["updated_at", Fri, 01 Nov 2013 06:31:10 UTC +00:00]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 815823837]]
+ [1m[36mSubscription Load (0.0ms)[0m [1mSELECT "subscriptions".* FROM "subscriptions" WHERE "subscriptions"."user_id" = ? ORDER BY "subscriptions"."id" ASC LIMIT 1[0m [["user_id", 815823837]]
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "settings" = ?, "updated_at" = ? WHERE "users"."id" = 815823837[0m [["settings", "---\n:notifications: false\n"], ["updated_at", Fri, 01 Nov 2013 06:31:10 UTC +00:00]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 815823837]]
+ [1m[35m (0.4ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+--------------------------------
+UserCreateTest: test_create_user
+--------------------------------
+Started GET "/users/new" for 127.0.0.1 at 2013-10-31 23:31:10 -0700
+Processing by UsersController#new as HTML
+ Rendered users/_fields.html.haml (7.2ms)
+ Rendered users/_form.html.haml (13.8ms)
+Completed 200 OK in 20ms (Views: 19.9ms | ActiveRecord: 0.0ms)
+ [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
+Started POST "/users" for 127.0.0.1 at 2013-10-31 23:31:11 -0700
+Processing by UsersController#create as HTML
+ Parameters: {"name"=>"Kevin", "email"=>"info@example.com", "fb_share"=>"0", "tw_share"=>"0", "tb_share"=>"false"}
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("created_at", "settings", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 01 Nov 2013 06:31:11 UTC +00:00], ["settings", "--- {}\n"], ["updated_at", Fri, 01 Nov 2013 06:31:11 UTC +00:00]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/users/815823837
+Completed 302 Found in 5ms (ActiveRecord: 0.3ms)
+Started GET "/users/815823837" for 127.0.0.1 at 2013-10-31 23:31:11 -0700
+Processing by UsersController#show as HTML
+ Parameters: {"id"=>"815823837"}
+ [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "815823837"]]
+ Rendered users/_user.html.haml (2.0ms)
+Completed 200 OK in 21ms (Views: 19.4ms | ActiveRecord: 0.1ms)
+ [1m[36m (0.4ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+--------------------------------
+UserTest: test_a_missing_default
+--------------------------------
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 01 Nov 2013 06:31:11 UTC +00:00], ["email", "kevin@example.com"], ["name", "Kevin"], ["settings", "--- {}\n"], ["updated_at", Fri, 01 Nov 2013 06:31:11 UTC +00:00]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+-----------------------------
+UserTest: test_a_missing_type
+-----------------------------
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Fri, 01 Nov 2013 06:31:11 UTC +00:00], ["email", "kevin@example.com"], ["name", "Kevin"], ["settings", "--- {}\n"], ["updated_at", Fri, 01 Nov 2013 06:31:11 UTC +00:00]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.4ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+----------------------------------------------------
+UserTest: test_configuring_array_and_hash_attributes
+----------------------------------------------------
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 01 Nov 2013 06:31:11 UTC +00:00], ["email", "alpha@example.com"], ["name", "Alpha"], ["settings", "--- {}\n"], ["updated_at", Fri, 01 Nov 2013 06:31:11 UTC +00:00]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Fri, 01 Nov 2013 06:31:11 UTC +00:00], ["email", "omega@example.com"], ["name", "Omega"], ["settings", "--- {}\n"], ["updated_at", Fri, 01 Nov 2013 06:31:11 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.4ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+--------------------------------------------
+UserTest: test_configuring_string_attributes
+--------------------------------------------
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 01 Nov 2013 06:31:11 UTC +00:00], ["email", "alpha@example.com"], ["name", "Alpha"], ["settings", "--- {}\n"], ["updated_at", Fri, 01 Nov 2013 06:31:11 UTC +00:00]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Fri, 01 Nov 2013 06:31:11 UTC +00:00], ["email", "omega@example.com"], ["name", "Omega"], ["settings", "--- {}\n"], ["updated_at", Fri, 01 Nov 2013 06:31:11 UTC +00:00]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.4ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+--------------------------------------------
+UserTest: test_configuring_symbol_attributes
+--------------------------------------------
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 01 Nov 2013 06:31:11 UTC +00:00], ["email", "kevin@example.com"], ["name", "Kevin"], ["settings", "--- {}\n"], ["updated_at", Fri, 01 Nov 2013 06:31:11 UTC +00:00]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+-----------------------
+UserTest: test_defaults
+-----------------------
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Fri, 01 Nov 2013 06:31:11 UTC +00:00], ["email", "kevin@example.com"], ["name", "Kevin"], ["settings", "--- {}\n"], ["updated_at", Fri, 01 Nov 2013 06:31:11 UTC +00:00]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.3ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+-----------------------------------------------
+UserTest: test_falsify_then_truthify_attributes
+-----------------------------------------------
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 01 Nov 2013 06:31:11 UTC +00:00], ["email", "kevin@example.com"], ["name", "Kevin"], ["settings", "---\n:fb_share: false\n:tw_share: false\n:tb_share: false\n"], ["updated_at", Fri, 01 Nov 2013 06:31:11 UTC +00:00]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "settings" = ?, "updated_at" = ? WHERE "users"."id" = 815823837[0m [["settings", "---\n:fb_share: true\n:tw_share: true\n:tb_share: true\n"], ["updated_at", Fri, 01 Nov 2013 06:31:11 UTC +00:00]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.3ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+-------------------------------
+UserTest: test_missing_settings
+-------------------------------
+ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 815823836]]
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "settings" = ?, "updated_at" = ? WHERE "users"."id" = 815823836[0m [["settings", "---\n:fb_share: false\n:tw_share: false\n:tb_share: false\n"], ["updated_at", Fri, 01 Nov 2013 06:31:11 UTC +00:00]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.3ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+-----------------------------------------------
+UserTest: test_truthify_then_falsify_attributes
+-----------------------------------------------
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 01 Nov 2013 06:31:11 UTC +00:00], ["email", "kevin@example.com"], ["name", "Kevin"], ["settings", "---\n:fb_share: true\n:tw_share: true\n:tb_share: true\n"], ["updated_at", Fri, 01 Nov 2013 06:31:11 UTC +00:00]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "settings" = ?, "updated_at" = ? WHERE "users"."id" = 815823837[0m [["settings", "---\n:fb_share: false\n:tw_share: false\n:tb_share: false\n"], ["updated_at", Fri, 01 Nov 2013 06:31:11 UTC +00:00]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.3ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+--------------------------------
+UserUpdateTest: test_update_user
+--------------------------------
+ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 593363170]]
+Started GET "/users/593363170/edit" for 127.0.0.1 at 2013-10-31 23:31:11 -0700
+Processing by UsersController#edit as HTML
+ Parameters: {"id"=>"593363170"}
+ [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "593363170"]]
+ Rendered users/_fields.html.haml (1.0ms)
+ Rendered users/_form.html.haml (2.4ms)
+Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.0ms)
+Started POST "/users" for 127.0.0.1 at 2013-10-31 23:31:11 -0700
+Processing by UsersController#create as HTML
+ Parameters: {"name"=>"Kevin", "email"=>"info@example.com", "fb_share"=>"0", "tw_share"=>"0", "tb_share"=>"true"}
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("created_at", "settings", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 01 Nov 2013 06:31:11 UTC +00:00], ["settings", "--- {}\n"], ["updated_at", Fri, 01 Nov 2013 06:31:11 UTC +00:00]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://www.example.com/users/815823837
+Completed 302 Found in 2ms (ActiveRecord: 0.4ms)
+Started GET "/users/815823837" for 127.0.0.1 at 2013-10-31 23:31:11 -0700
+Processing by UsersController#show as HTML
+ Parameters: {"id"=>"815823837"}
+ [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "815823837"]]
+ Rendered users/_user.html.haml (0.2ms)
+Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.0ms)
+ [1m[36m (0.4ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+--------------------------------------------
+UsersControllerTest: test_should_create_user
+--------------------------------------------
+ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 593363170]]
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users"
+Processing by UsersController#create as HTML
+ Parameters: {"user"=>{"id"=>"593363170", "account_id"=>"593363170", "name"=>"Kevin", "email"=>"info@example.com", "settings"=>{"fb_share"=>true, "tw_share"=>true}, "created_at"=>"2013-11-01 06:31:10 UTC", "updated_at"=>"2013-11-01 06:31:10 UTC"}}
+WARNING: Can't mass-assign protected attributes for User: id, account_id, settings, created_at, updated_at
+ protected_attributes (1.0.3) lib/active_model/mass_assignment_security/sanitizer.rb:47:in `block in process_removed_attributes'
+ /Users/kevin/.rbenv/versions/2.0.0-p247/lib/ruby/2.0.0/logger.rb:376:in `add'
+ /Users/kevin/.rbenv/versions/2.0.0-p247/lib/ruby/2.0.0/logger.rb:447:in `warn'
+ protected_attributes (1.0.3) lib/active_model/mass_assignment_security/sanitizer.rb:45:in `process_removed_attributes'
+ protected_attributes (1.0.3) lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize'
+ protected_attributes (1.0.3) lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment'
+ protected_attributes (1.0.3) lib/active_record/mass_assignment_security/attribute_assignment.rb:58:in `assign_attributes'
+ protected_attributes (1.0.3) lib/active_record/mass_assignment_security/core.rb:16:in `initialize'
+ activerecord (4.0.0) lib/active_record/inheritance.rb:27:in `new'
+ activerecord (4.0.0) lib/active_record/inheritance.rb:27:in `new'
+ protected_attributes (1.0.3) lib/active_record/mass_assignment_security/persistence.rb:45:in `create'
+ app/controllers/users_controller.rb:35:in `create'
+ actionpack (4.0.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
+ actionpack (4.0.0) lib/abstract_controller/base.rb:189:in `process_action'
+ actionpack (4.0.0) lib/action_controller/metal/rendering.rb:10:in `process_action'
+ actionpack (4.0.0) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
+ activesupport (4.0.0) lib/active_support/callbacks.rb:383:in `_run__3705253993169237033__process_action__callbacks'
+ activesupport (4.0.0) lib/active_support/callbacks.rb:80:in `run_callbacks'
+ actionpack (4.0.0) lib/abstract_controller/callbacks.rb:17:in `process_action'
+ actionpack (4.0.0) lib/action_controller/metal/rescue.rb:29:in `process_action'
+ actionpack (4.0.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
+ activesupport (4.0.0) lib/active_support/notifications.rb:159:in `block in instrument'
+ activesupport (4.0.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
+ activesupport (4.0.0) lib/active_support/notifications.rb:159:in `instrument'
+ actionpack (4.0.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
+ actionpack (4.0.0) lib/action_controller/metal/params_wrapper.rb:245:in `process_action'
+ activerecord (4.0.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
+ actionpack (4.0.0) lib/abstract_controller/base.rb:136:in `process'
+ actionpack (4.0.0) lib/abstract_controller/rendering.rb:44:in `process'
+ actionpack (4.0.0) lib/action_controller/test_case.rb:569:in `process'
+ actionpack (4.0.0) lib/action_controller/test_case.rb:64:in `process'
+ actionpack (4.0.0) lib/action_controller/test_case.rb:475:in `post'
+ test/functional/users_controller_test.rb:24:in `block (2 levels) in <class:UsersControllerTest>'
+ activesupport (4.0.0) lib/active_support/testing/assertions.rb:71:in `assert_difference'
+ test/functional/users_controller_test.rb:23:in `block in <class:UsersControllerTest>'
+ minitest (4.7.5) lib/minitest/unit.rb:1258:in `run'
+ minitest (4.7.5) lib/minitest/unit.rb:933:in `block in _run_suite'
+ minitest (4.7.5) lib/minitest/unit.rb:926:in `map'
+ minitest (4.7.5) lib/minitest/unit.rb:926:in `_run_suite'
+ minitest (4.7.5) lib/minitest/parallel_each.rb:71:in `block in _run_suites'
+ minitest (4.7.5) lib/minitest/parallel_each.rb:71:in `map'
+ minitest (4.7.5) lib/minitest/parallel_each.rb:71:in `_run_suites'
+ minitest (4.7.5) lib/minitest/unit.rb:877:in `_run_anything'
+ minitest (4.7.5) lib/minitest/unit.rb:1085:in `run_tests'
+ minitest (4.7.5) lib/minitest/unit.rb:1072:in `block in _run'
+ minitest (4.7.5) lib/minitest/unit.rb:1071:in `each'
+ minitest (4.7.5) lib/minitest/unit.rb:1071:in `_run'
+ minitest (4.7.5) lib/minitest/unit.rb:1059:in `run'
+ minitest (4.7.5) lib/minitest/unit.rb:795:in `block in autorun'
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 01 Nov 2013 06:31:11 UTC +00:00], ["email", "info@example.com"], ["name", "Kevin"], ["settings", "--- {}\n"], ["updated_at", Fri, 01 Nov 2013 06:31:11 UTC +00:00]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://test.host/users/815823837
+Completed 302 Found in 4ms (ActiveRecord: 0.5ms)
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users"
+ [1m[36m (0.4ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+---------------------------------------------
+UsersControllerTest: test_should_destroy_user
+---------------------------------------------
+ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 593363170]]
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users"
+Processing by UsersController#destroy as HTML
+ Parameters: {"id"=>"593363170"}
+ [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", "593363170"]]
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 593363170]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+Redirected to http://test.host/users
+Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "users"[0m
+ [1m[35m (0.3ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+-----------------------------------------
+UsersControllerTest: test_should_get_edit
+-----------------------------------------
+ [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
+Processing by UsersController#edit as HTML
+ Parameters: {"id"=>"593363170"}
+ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", "593363170"]]
+ Rendered users/_fields.html.haml (1.3ms)
+ Rendered users/_form.html.haml (2.9ms)
+Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.1ms)
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+------------------------------------------
+UsersControllerTest: test_should_get_index
+------------------------------------------
+ [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
+Processing by UsersController#index as HTML
+ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users"[0m
+Completed 200 OK in 4ms (Views: 3.6ms | ActiveRecord: 0.1ms)
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+----------------------------------------
+UsersControllerTest: test_should_get_new
+----------------------------------------
+ [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
+Processing by UsersController#new as HTML
+ Rendered users/_fields.html.haml (1.0ms)
+ Rendered users/_form.html.haml (2.2ms)
+Completed 200 OK in 3ms (Views: 3.0ms | ActiveRecord: 0.0ms)
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+------------------------------------------
+UsersControllerTest: test_should_show_user
+------------------------------------------
+ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 593363170]]
+Processing by UsersController#show as HTML
+ Parameters: {"id"=>"593363170"}
+ [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "593363170"]]
+ Rendered users/_user.html.haml (0.3ms)
+Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+--------------------------------------------
+UsersControllerTest: test_should_update_user
+--------------------------------------------
+ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 593363170]]
+Processing by UsersController#update as HTML
+ Parameters: {"user"=>{"id"=>"593363170", "account_id"=>"593363170", "name"=>"Kevin", "email"=>"info@example.com", "settings"=>{"fb_share"=>true, "tw_share"=>true}, "created_at"=>"2013-11-01 06:31:10 UTC", "updated_at"=>"2013-11-01 06:31:10 UTC"}, "id"=>"593363170"}
+ [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "593363170"]]
+WARNING: Can't mass-assign protected attributes for User: id, account_id, settings, created_at, updated_at
+ protected_attributes (1.0.3) lib/active_model/mass_assignment_security/sanitizer.rb:47:in `block in process_removed_attributes'
+ /Users/kevin/.rbenv/versions/2.0.0-p247/lib/ruby/2.0.0/logger.rb:376:in `add'
+ /Users/kevin/.rbenv/versions/2.0.0-p247/lib/ruby/2.0.0/logger.rb:447:in `warn'
+ protected_attributes (1.0.3) lib/active_model/mass_assignment_security/sanitizer.rb:45:in `process_removed_attributes'
+ protected_attributes (1.0.3) lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize'
+ protected_attributes (1.0.3) lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment'
+ activerecord (4.0.0) lib/active_record/attribute_assignment.rb:21:in `assign_attributes'
+ app/controllers/users_controller.rb:43:in `update'
+ actionpack (4.0.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
+ actionpack (4.0.0) lib/abstract_controller/base.rb:189:in `process_action'
+ actionpack (4.0.0) lib/action_controller/metal/rendering.rb:10:in `process_action'
+ actionpack (4.0.0) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
+ activesupport (4.0.0) lib/active_support/callbacks.rb:383:in `_run__3705253993169237033__process_action__callbacks'
+ activesupport (4.0.0) lib/active_support/callbacks.rb:80:in `run_callbacks'
+ actionpack (4.0.0) lib/abstract_controller/callbacks.rb:17:in `process_action'
+ actionpack (4.0.0) lib/action_controller/metal/rescue.rb:29:in `process_action'
+ actionpack (4.0.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
+ activesupport (4.0.0) lib/active_support/notifications.rb:159:in `block in instrument'
+ activesupport (4.0.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
+ activesupport (4.0.0) lib/active_support/notifications.rb:159:in `instrument'
+ actionpack (4.0.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
+ actionpack (4.0.0) lib/action_controller/metal/params_wrapper.rb:245:in `process_action'
+ activerecord (4.0.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
+ actionpack (4.0.0) lib/abstract_controller/base.rb:136:in `process'
+ actionpack (4.0.0) lib/abstract_controller/rendering.rb:44:in `process'
+ actionpack (4.0.0) lib/action_controller/test_case.rb:569:in `process'
+ actionpack (4.0.0) lib/action_controller/test_case.rb:64:in `process'
+ actionpack (4.0.0) lib/action_controller/test_case.rb:487:in `put'
+ test/functional/users_controller_test.rb:41:in `block in <class:UsersControllerTest>'
+ minitest (4.7.5) lib/minitest/unit.rb:1258:in `run'
+ minitest (4.7.5) lib/minitest/unit.rb:933:in `block in _run_suite'
+ minitest (4.7.5) lib/minitest/unit.rb:926:in `map'
+ minitest (4.7.5) lib/minitest/unit.rb:926:in `_run_suite'
+ minitest (4.7.5) lib/minitest/parallel_each.rb:71:in `block in _run_suites'
+ minitest (4.7.5) lib/minitest/parallel_each.rb:71:in `map'
+ minitest (4.7.5) lib/minitest/parallel_each.rb:71:in `_run_suites'
+ minitest (4.7.5) lib/minitest/unit.rb:877:in `_run_anything'
+ minitest (4.7.5) lib/minitest/unit.rb:1085:in `run_tests'
+ minitest (4.7.5) lib/minitest/unit.rb:1072:in `block in _run'
+ minitest (4.7.5) lib/minitest/unit.rb:1071:in `each'
+ minitest (4.7.5) lib/minitest/unit.rb:1071:in `_run'
+ minitest (4.7.5) lib/minitest/unit.rb:1059:in `run'
+ minitest (4.7.5) lib/minitest/unit.rb:795:in `block in autorun'
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "updated_at" = ?, "settings" = ? WHERE "users"."id" = 593363170 [["updated_at", Fri, 01 Nov 2013 06:31:11 UTC +00:00], ["settings", "---\n:fb_share: true\n:tw_share: true\n"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://test.host/users/593363170
+Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
+ [1m[35m (0.3ms)[0m rollback transaction