[rspec-users] --options file quirky with --drb

David Chelimsky dchelimsky at gmail.com
Thu Mar 5 14:09:32 EST 2009


On Thu, Mar 5, 2009 at 12:32 PM, Higgaion <BrianPatrickDunn at gmail.com> wrote:
> putting --drb in my spec.opts file has some unexpected results.
>
> $ spec --drb --colour --format specdoc --loadby mtime --reverse -G
> spec/spec.opts
> $ spec spec/models/a_model_spec.rb -O spec/spec.opts
> $
>
> it just returns right away, with no output.

What version of rspec are you running? This should be fixed in git.

> but...
> $ spec --colour --format specdoc --loadby mtime --reverse -G spec/
> spec.opts
> $ spec spec/models/campaign_spec.rb -O spec/spec.opts
> :
> :
> lots of pretty spec output
> :
> :
> $
>
> interestingly, if i include a spec file in the call that generates the
> options file, like
> $ spec spec/models/campaign_spec.rb --drb --colour --format specdoc --
> loadby mtime --reverse -G spec/spec.opts
> then running those options like this works as expected, even with --
> drb.
> $ spec spec/models/a_model_spec.rb -O spec/spec.opts

Never heard that before :) - obviously not intended.

>
> of course, that isn't a very useful way to use rspec, and its
> incompatible with my rspec holy grail dreams:
> http://wiki.github.com/dchelimsky/rspec/spec_server-autospec-nearly-pure-bdd-joy
>
> it seems that this would be a problem with options file loading, no?
> anyone else able to reproduce this issue?
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users
>


More information about the rspec-users mailing list