Changeset [5d62ea0ed9a4f7c5cba81048ef2af998a5348148] by Jonathan del Strother

July 18th, 2008 @ 01:50 AM

Call Rail's TestCase setup/teardown callbacks

Rails r8664 introducted ActiveSupport::Callbacks into TestCase, used for loading fixtures, among other things.

Ensure they're called when rspec runs vanilla TestCase tests.

Signed-off-by: Jonathan del Strother

http://github.com/dchelimsky/rsp...

Committed by Jonathan del Strother

  • M lib/spec/rails.rb
  • M lib/spec/rails/example/rails_example_group.rb
  • M lib/spec/rails/interop/testcase.rb
  • M spec/rails/interop/testcase_spec.rb

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Behaviour Driven Development for Ruby.

Shared Ticket Bins