[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
Mon May 21 04:35:37 EDT 2007


Bugs item #10959, was opened at 2007-05-21 07: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: David Chelimsky (dchelimsky)
Date: 2007-05-21 08: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 08: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