[rspec-devel] [ rspec-Bugs-10871 ] 0.9.4 - Focussed spec runner fails to run specs in descriptions with type and string when there is no leading space in the string

noreply at rubyforge.org noreply at rubyforge.org
Sat May 19 00:49:03 EDT 2007


Bugs item #10871, was opened at 2007-05-16 15:13
You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=3149&aid=10871&group_id=797

Category: runner module
Group: None
>Status: Closed
Resolution: None
Priority: 3
Submitted By: Nathan Sobo (nathansobo)
Assigned to: Nobody (None)
Summary: 0.9.4 - Focussed spec runner fails to run specs in descriptions with type and string when there is no leading space in the string

Initial Comment:
if there is no space before "bar" like " bar" then the focussed runner breaks. I admit there should be a space there but this is a confusing bug for people that don't know that. Maybe one should be inserted automatically if it is missing.

describe Foo, "bar" do
  it "this does not get run in a focussed spec" do
    true.should be_true
  end
end

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

>Comment By: Brian Takita (btakita)
Date: 2007-05-18 21:49

Message:
Fixed in Rev. 1979

Still need to add functional specs.

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

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


More information about the rspec-devel mailing list