Created
April 28, 2011 22:22
-
-
Save linusthe3rd/947469 to your computer and use it in GitHub Desktop.
POST request output
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| SQL (2.8ms) describe `roles_users` | |
| SQL (2.1ms) describe `camps_users` | |
| SQL (3.4ms) describe `camps_users` | |
| SQL (2.0ms) describe `campers_camps` | |
| SQL (2.8ms) describe `campers_camps` | |
| SQL (2.1ms) describe `roles_users` | |
| Loaded suite test/functional/camp/contacts_controller_test | |
| Started | |
| SQL (0.1ms) BEGIN | |
| SQL (0.7ms) SHOW TABLES | |
| User Load (0.3ms) SELECT `users`.* FROM `users` WHERE (`users`.`id` = 292811013) LIMIT 1 | |
| BEFORE REQUEST | |
| SQL (0.4ms) SELECT COUNT(*) FROM `contacts` | |
| Camp Load (0.3ms) SELECT `camps`.* FROM `camps` WHERE (`camps`.`id` = 665138414) LIMIT 1 | |
| Processing by Camp::ContactsController#create as HTML | |
| Parameters: {"contact"=>{"first_name"=>"John", "last_name"=>"Doe", "email_address"=>"test@test.com", "phone_number"=>"1234567890"}, "camp_id"=>"bolo"} | |
| User Load (0.4ms) SELECT `users`.* FROM `users` WHERE (`users`.`id` = 292811013) LIMIT 1 | |
| Completed in 24ms | |
| AFTER REQUEST | |
| SQL (0.3ms) SELECT COUNT(*) FROM `contacts` | |
| SQL (0.1ms) ROLLBACK | |
| F | |
| Finished in 0.385608 seconds. | |
| 1) Failure: | |
| test_should_create_contact(Camp::ContactsControllerTest) [test/functional/camp/contacts_controller_test.rb:45]: | |
| "Contact.count" didn't change by 1. | |
| <5> expected but was | |
| <4>. | |
| 1 tests, 1 assertions, 1 failures, 0 errors, 0 skips | |
| Test run options: --seed 10895 --name "test_should_create_contact" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment