[rspec-users] spec_server requiring absolute paths (and autotest breaking)

David Chelimsky dchelimsky at gmail.com
Tue Feb 19 13:09:19 EST 2008


On Feb 19, 2008 12:08 PM, Jarkko Laine <jarkko at jlaine.net> wrote:
> On 19.2.2008, at 17.57, David Chelimsky wrote:
> > Did this just start happening for you? If so, it could be the patch I
> > applied in r3310. Would you mind checking out 3309 and seeing if you
> > still have this problem?
>
>
> Ok, found out the reason. I started spec_server from within the script
> directory and it only works correctly if you start it from the root of
> your Rails app. Gotcha.
>
> That said, now that autotest runs via drb, it's vastly (like 50%)
> slower than without it, doesn't respect the --colour option in
> spec.opts and causes failures that don't happen when running just
> plain autotest. All of them seem to be related to methods being run
> more times than they are supposed to. Examples:
>
> Mock 'Location_18994' expected :valid? with (any args) once, but
> received it twice
>
> expected: "Barney Hops doesn't have the required competency (MBA) to
> teach this class",
>       got: ["Barney Hops doesn't have the required competency (MBA) to
> teach this class", "Barney Hops doesn't have the required competency
> (MBA) to teach this class"]
>
> Mock 'Enrollment' expected :on_waiting_list? with (any args) twice,
> but received it 3 times

There are a few drb related tickets in lighthouse. Please add this if
information if/where appropriate or add a new ticket.

Thanks,
David


>
>
> //jarkko
>
> --
> Jarkko Laine
> http://jlaine.net
> http://dotherightthing.com
> http://www.railsecommerce.com
> http://odesign.fi
>
>
>
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users
>


More information about the rspec-users mailing list