Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
wenberts-MacBook-Pro-17:md wenbert$ rake test:functionals
Loaded suite /Users/wenbert/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2.2/lib/rake/rake_test_loader
Started
AllergiesControllerTest:
PASS should create allergy (0.23s)
PASS should destroy allergy (0.01s)
PASS should get edit (0.13s)
ERROR should get index (0.05s)
RuntimeError: [#<Allergy id: 298486374, name: "MyString", desc: "MyText", created_at: "2012-01-09 15:07:28", updated_at: "2012-01-09 15:07:28", patient_id: 1>]
/Users/wenbert/projects/rails/md/app/controllers/allergies_controller.rb:7:in `index'
PASS should get new (0.03s)
PASS should show allergy (0.02s)
PASS should update allergy (0.03s)
ImmunizationsControllerTest:
PASS should create immunization (0.03s)
PASS should destroy immunization (0.03s)
PASS should get edit (0.05s)
PASS should get index (0.02s)
PASS should get new (0.02s)
PASS should show immunization (0.01s)
PASS should update immunization (0.01s)
PatientsControllerTest:
PASS should create patient (0.02s)
PASS should destroy patient (0.01s)
PASS should get edit (0.04s)
PASS should get index (0.02s)
PASS should get new (0.03s)
PASS should show patient (0.01s)
PASS should update patient (0.01s)
Finished in 0.867991 seconds.
21 tests, 28 assertions, 0 failures, 1 errors, 0 skips
rake aborted!
Command failed with status (1): [/Users/wenbert/.rvm/rubies/ruby-1.9.2-p290...]
Tasks: TOP => test:functionals
(See full trace by running task with --trace)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment