Forum: RSpec -l command line option broken?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
54568ee7ba0c78a836e84c8756a3d681?d=identicon&s=25 Lenny Marks (Guest)
on 2008-10-28 20:52
(Received via mailing list)
Ooops. I meant the -l option not -n.

It seems that '-l' command line option for rspec stopped working as of
rspec 1.1.3. I think this may be related to why I can't get NetBeans
to run focussed specs anymore. Does this work for others? I'm using
jruby but I don't think that's the issue.

http://ruby.netbeans.org/issues/show_bug.cgi?id=148462

-lenny
48641c4be1fbe167929fb16c9fd94990?d=identicon&s=25 Mark Wilden (Guest)
on 2008-10-30 04:33
(Received via mailing list)
On Tue, Oct 28, 2008 at 12:31 PM, Lenny Marks <lenny@aps.org> wrote:

> Ooops. I meant the -l option not -n.
>
> It seems that '-l' command line option for rspec stopped working as of
> rspec 1.1.3.


It's been working for me. I wrote a Vim script that runs the current
spec
(in whatever window it might be) with DRb, so it takes about a second.
It's
made a big difference in my TDD/BDD work cycle.

///ark
48641c4be1fbe167929fb16c9fd94990?d=identicon&s=25 Mark Wilden (Guest)
on 2008-10-30 04:36
(Received via mailing list)
On Tue, Oct 28, 2008 at 1:54 PM, Mark Wilden <mark@mwilden.com> wrote:

> made a big difference in my TDD/BDD work cycle.
>

Come to think of it, I had to change the command it runs from
'script/spec'
to 'spec' with the latest release of RSpec.

///ark
5d38ab152e1e3e219512a9859fcd93af?d=identicon&s=25 David Chelimsky (Guest)
on 2008-10-30 04:36
(Received via mailing list)
On Tue, Oct 28, 2008 at 2:31 PM, Lenny Marks <lenny@aps.org> wrote:
> Ooops. I meant the -l option not -n.
>
> It seems that '-l' command line option for rspec stopped working as of rspec
> 1.1.3. I think this may be related to why I can't get NetBeans to run
> focussed specs anymore. Does this work for others? I'm using jruby but I
> don't think that's the issue.
>
> http://ruby.netbeans.org/issues/show_bug.cgi?id=148462

I think 1.1.3 was the release that introduced nested example groups,
so it would make sense that the -l option fell apart. Please check
http://rspec.lighthouseapp.com and see if there is already a bug
report and add one if not.

Thx
This topic is locked and can not be replied to.