Re: [rspec-users] adding to the callbacks that rspec-rails adds

2010-02-19 Thread Pat Maddox
Look in spec/spec_helper.rb for the configuration block, and hook up your custom stuff there: Spec::Runner.configured do |config| config.before(:each) { AfterFixturesLoaded.custom_stuff1 } config.after(:each) { AfterFixturesLoaded.custom_stuff1 } end Pat On Feb 16, 2010, at 8:48 AM, Ben F

Re: [rspec-users] adding to the callbacks that rspec-rails adds

2010-02-17 Thread David Chelimsky
On Tue, Feb 16, 2010 at 10:48 AM, Ben Fyvie wrote: > I have some code that adds to the callbacks that rspec-rails adds by default > to href="http://github.com/dchelimsky/rspec-rails/blob/master/lib/spec/rails/interop/testcase.rb";>setup > and teardown fixtures. > > > > My code looks something lik

[rspec-users] adding to the callbacks that rspec-rails adds

2010-02-16 Thread Ben Fyvie
I have some code that adds to the callbacks that rspec-rails adds by default to http://github.com/dchelimsky/rspec-rails/blob/master/lib/spec/rails/in terop/testcase.rb">setup and teardown fixtures. My code looks something like: module Test module Unit class TestCase