[rspec-users] -l command line option broken?
lenny at aps.org
Tue Oct 28 17:24:28 EDT 2008
> On Tue, Oct 28, 2008 at 12:31 PM, Lenny Marks <lenny at aps.org>
> > 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
> (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.
Sorry for not replying to the thread but I'm not getting any mail from
rspec-users right now for whatever reason.
It looks like it is an issue specific to jruby.
With rspec-1.1.11 and jruby-1.4
describe "line number" do
it "should be example one" do
it "should be another example" do
> jruby-1.1.4/bin/jruby $GEM_HOME/bin/spec -l 2 $HOME/tmp/
Finished in 0.013457 seconds
0 examples, 0 failures
> ruby $GEM_HOME/bin/spec -l 2 $HOME/tmp/linenumber_spec.rb
Finished in 0.006864 seconds
1 example, 0 failures
More information about the rspec-users