[rspec-devel] [ rspec-Patches-9132 ] Rakefile spec:doc can fail without preparing database

noreply at rubyforge.org noreply at rubyforge.org
Sun Apr 8 10:01:54 EDT 2007


Patches item #9132, was opened at 2007-03-08 19:08
You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=3151&aid=9132&group_id=797

Category: rails plugin
Group: None
>Status: Closed
>Resolution: Accepted
Priority: 3
Submitted By: steve ross (cwd)
>Assigned to: David Chelimsky (dchelimsky)
Summary: Rakefile spec:doc can fail without preparing database

Initial Comment:
Two issues addressed in this patch to rspec.rake:

1. specs fail because database is not prepared when running spec:doc
2. added task spec:appdoc so only specs for the app are run - not for plugins

N.b.: It might be better to name these spec:doc (just the application) and spec:doc_all (for everything) but I left that alone because I didn't want to break existing functionality.

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

>Comment By: David Chelimsky (dchelimsky)
Date: 2007-04-08 14:01

Message:
Applied to trunk rev 1727.

FYI - I added the db:test:prepare prereq (thanks) and a separate spec:plugin_doc task to handle plugins (the spec:doc task was changed already to run everything under ./spec and not plugins).

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

Comment By: steve ross (cwd)
Date: 2007-03-10 16:16

Message:
Ok, now the patch :)

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

Comment By: David Chelimsky (dchelimsky)
Date: 2007-03-10 14:13

Message:
Please submit the patch ;)

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

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


More information about the rspec-devel mailing list