[rspec-devel] [ rspec-Patches-6587 ] Rspec on Rails displays "Spec::Rails::ContextFactory" as context name

noreply at rubyforge.org noreply at rubyforge.org
Thu Nov 9 17:27:50 EST 2006


Patches item #6587, was opened at 2006-11-09 23:27
You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=3151&aid=6587&group_id=797

Category: rails plugin
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Daniel Siemssen (dsiem)
Assigned to: Nobody (None)
Summary: Rspec on Rails displays "Spec::Rails::ContextFactory" as context name

Initial Comment:
If you put your RoR specs in a different directory than views/, helpers/, models/ or controllers/ and don't define the :context_type manually, then Rspec on Rails won't display the context name but "Spec::Rails::ContextFactory" instead. 
This patch should resolve this.

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

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


More information about the rspec-devel mailing list