On Jun 4, 12:48 pm, GregD <[email protected]> wrote:
> 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.

More likely it's not being called.  What version of rspec are you
using?  It might be a later version than I'm using, and they could
have changed the API. It used to be defined in
Spec::Example::ExampleMethods, which was included in
Spec::Example::ExampleGroup, so super in Spec::Example::ExampleGroup
would call the version in Spec::Example::ExampleMethods.

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