Skip to content

Instantly share code, notes, and snippets.

@wenbert
Created January 9, 2012 15:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wenbert/1583321 to your computer and use it in GitHub Desktop.
Save wenbert/1583321 to your computer and use it in GitHub Desktop.
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