Spec::Runner.register_at_exit_hook in RSpec 1.1.3

In RSpec 1.1.3 this method is invoked from
Spec::Example::ExampleGroupMethods.inherited, but it no longer exists. I
noticed this trying to run my specs inside Textmate. I looked for a new
version of the Textmate bundle, but there doesn’t seem to be one.

Re-adding the method from an earlier version of RSpec gets me going, but
seems a bit of a hack. Is there something else I should be doing, or is
this a bug?

Steve H.

On Feb 4, 2008 11:15 PM, Steve H. [email protected] wrote:

In RSpec 1.1.3 this method is invoked from
Spec::Example::ExampleGroupMethods.inherited, but it no longer exists.

It most certainly does. In fact, it’s new in 1.1.3, so neither the
method nor the call existed prior. Any chance you have mixed versions
floating around? 1.1.3 gem but older plugins?

David C. wrote:

On Feb 4, 2008 11:15 PM, Steve H. [email protected] wrote:

In RSpec 1.1.3 this method is invoked from
Spec::Example::ExampleGroupMethods.inherited, but it no longer exists.

It most certainly does. In fact, it’s new in 1.1.3, so neither the
method nor the call existed prior. Any chance you have mixed versions
floating around? 1.1.3 gem but older plugins?

That was probably it - apologies. I’m should see what I need to do to
run without the gem at all.

Steve H.