« Return to Thread: An error on edge at -r 2767

Re: An error on edge at -r 2767

by sinclair bain-2 :: Rate this Message:

Reply to Author | View in Thread

OK.

Looks like this whole area has been worked upon.
In the trunk the 

    rspec_on_rails/lib/spec/rails/dsl/behaviour/ 

directory has been reworked.

The rails_example.rb file contains the class method #before_eval where the error is sourced.

In REL_1_0_8 this functionality was in the base.rb file there is no #before_eval functionality as such.
There is no (obvious) calls to 
   #prepend_before {setup}
   #append_after {teardown}
and the #configure is slightly different.
However the #before_eval exists in the rspec/lib/spec/dsl/behaviour.rb but is an empty (no-op) implementation.
Plus Spec::DSL::Example inherits from Test::Unit::TestCase in the trunk (hence the calls to setup/teardown)

So ... somewhere in there lies the cause.    ; )

Anyway I get the Story Runner back with the manual config modification so that's where we want to be.

Cheers!
sinclair




 

On 10/23/07, David Chelimsky <dchelimsky@...> wrote:
On 10/23/07, David Chelimsky <dchelimsky@...> wrote:
> On 10/23/07, sinclair bain <rspec.user@...> wrote:
> > This all occurs on WindowsXP
>
> Ah - I am therefore not able to help debug this precisely

In case this wasn't clear - because I don't have that OS available :)
_______________________________________________
rspec-users mailing list
rspec-users@...
http://rubyforge.org/mailman/listinfo/rspec-users


_______________________________________________
rspec-users mailing list
rspec-users@...
http://rubyforge.org/mailman/listinfo/rspec-users

 « Return to Thread: An error on edge at -r 2767