On Jun 7, 2:00 pm, GregD <[email protected]> wrote: > I tried something similar. Actually, put a puts outside it all to > make sure it was loading. > > Yes it is loading, but the code is not running. I'm not sure why. > Here is the file that is getting loaded. Looks similar to yours. > > puts("Loading") > class Spec::Example::ExampleGroup > def execute(*args, &block) > puts "Begin transaction and override execute()" > DB.transaction{super(*args, &block); puts "raise error"; raise > Sequel::Rollback} > puts "End transaction" > end > end > > I never see the STDOUT except for the 'Loading' when I do a rake spec. > > Something is wrong here and I'm having a hard time figuring it out. > > rspec 1.3.0 > rspec-rails 1.3.2
Can you try it with just rspec and not rspec_rails. I've only used plain rspec and eliminating rspec_rails from the equation would make it easier to figure out where the problem is. Jeremy -- You received this message because you are subscribed to the Google Groups "sequel-talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/sequel-talk?hl=en.
