[rspec-devel] [ rspec-Feature Requests-7613 ] context#include should add constants into the context

noreply at rubyforge.org noreply at rubyforge.org
Fri Jan 5 20:25:34 EST 2007


Feature Requests item #7613, was opened at 2007-01-05 17:25
You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=3152&aid=7613&group_id=797

Category: None
Group: None
Status: Open
Priority: 3
Submitted By: Brian Takita (btakita)
Assigned to: Nobody (None)
Summary: context#include should add constants into the context

Initial Comment:
dir = File.dirname(__FILE__)
require "#{dir}/spec_helper"

module Foo
  class Bar
  end
end

context "A Context include statement" do
  include Foo
  specify "should add constants accessable in the context" do
    b = Bar.new
  end
end


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

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


More information about the rspec-devel mailing list