[rspec-devel] [ rspec-Bugs-10959 ] Focused Examples do not work for Behaviour defined with constant with modules

noreply at rubyforge.org noreply at rubyforge.org
Thu May 24 02:31:38 EDT 2007


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

Category: None
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Brian Takita (btakita)
Assigned to: Nobody (None)
Summary: Focused Examples do not work for Behaviour defined with constant with modules

Initial Comment:
e.g.

describe Foo::Bar do
  it "gets here" do
    true.should == true
  end
end


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

>Comment By: Brian Takita (btakita)
Date: 2007-05-23 23:31

Message:
Fixed in Rev. 2011

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

Comment By: David Chelimsky (dchelimsky)
Date: 2007-05-21 01:35

Message:
When you do this:

module Space
  class Thing

the output reads:

Space::Thing

We want to be able to say:

spec spec -e "Space::Thing"

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

Comment By: Brian Takita (btakita)
Date: 2007-05-21 01:12

Message:
In spec_matcher_spec.rb, there is an example:
"should match when behaviour is modularized"

The error was caused by changing ExampleMatcher to handle
this. What is the purpose of doing the spec_matcher_spec
example?

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

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


More information about the rspec-devel mailing list