[rspec-devel] [ rspec-Bugs-9421 ] --line doesn't work with behaviours that use class names

noreply at rubyforge.org noreply at rubyforge.org
Mon Apr 2 15:22:37 EDT 2007


Bugs item #9421, was opened at 2007-03-21 10:11
You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=3149&aid=9421&group_id=797

Category: runner module
Group: None
>Status: Closed
>Resolution: Accepted
Priority: 4
Submitted By: Aslak Hellesøy (aslak_hellesoy)
Assigned to: David Chelimsky (dchelimsky)
Summary: --line doesn't work with behaviours that use class names

Initial Comment:
To reproduce, do:

ruby bin/spec spec/spec/dsl/behaviour_spec.rb -l 22

Finished in 1.4e-05 seconds

0 examples, 0 failures

This is because SpecParser always looks for quotes - it has to be smarter


----------------------------------------------------------------------

>Comment By: David Chelimsky (dchelimsky)
Date: 2007-04-02 19:22

Message:
Fixed in branches/0.9-dev (rev 1675)

----------------------------------------------------------------------

Comment By: David Chelimsky (dchelimsky)
Date: 2007-04-02 18:47

Message:
The problem is now with modules:

module Spec
  module DSL
    describe Behaviour do

this produces a behaviour description of "Spec::DSL::Behaviour"

but the parser is only looking for "Behaviour"

in progress....

----------------------------------------------------------------------

Comment By: Aslak Hellesøy (aslak_hellesoy)
Date: 2007-04-01 21:07

Message:
Didn't you just fix this?

----------------------------------------------------------------------

You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=3149&aid=9421&group_id=797


More information about the rspec-devel mailing list