[rspec-devel] [ rspec-Bugs-12448 ] The spec:plugins rake task from rspec_on_rails should ignore specs from the rspec_on_rails plugin

noreply at rubyforge.org noreply at rubyforge.org
Fri Jul 20 09:51:55 EDT 2007


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

Category: rails plugin
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: James Adam (lazyatom)
Assigned to: Nobody (None)
Summary: The spec:plugins rake task from rspec_on_rails should ignore specs from the rspec_on_rails plugin

Initial Comment:
It's a simple fix - change:

t.spec_files = FileList['vendor/plugins/**/spec/**/*_spec.rb'].exclude('vendor/plugins/rspec/*')

to t.spec_files = FileList['vendor/plugins/**/spec/**/*_spec.rb'].exclude('vendor/plugins/rspec/*').exclude('vendor/plugins/rspec_on_rails/*')

in rspec_on_rails/tasks/rspec.rake

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

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


More information about the rspec-devel mailing list