Ruby novice -> I don't see the execute method defined for
Spec::Example::ExampleGroup.

So, what is super calling?

I tried putting puts into the code to see if it was being executed.  I
did not see the output.  So, I'm thinking execute method is not ever
be called.  Or rspec is filtering STDOUT.

On Jun 4, 2:44 pm, GregD <[email protected]> wrote:
> Jeremy,
>
> It did not do the rollback or it issued the rollback after a commit.
> There are no commits in the stored proc and no implicit commits
> configured for the DB.  We always issue explicit commits.  I have none
> in the tests.  Could ds.call_spoc be issuinig a commit?   I am doing a
> DB.transaction when a execute the stored proc.  It is NOT setting a
> save point so the outer most transaction that we defined here should
> be doing a rollback.  How can I determine that the rollback is being
> executed after the test?
>
> Thanks,
>
> GregD
>
> On Jun 4, 12:55 pm, Jeremy Evans <[email protected]> wrote:
>
>
>
> > On Jun 4, 9:36 am, GregD <[email protected]> wrote:
>
> > > Jeremy,
>
> > > Sounds good.  Where do you put this?  in the spec_helper.rb?   I'm
> > > using rspec too.
>
> > > GregD
>
> > I usually put it in some helper file that's included by all of my spec
> > files, so I'm guessing the answer to your question is yes.
>
> > 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.

Reply via email to