[rspec-devel] [ rspec-Feature Requests-14901 ] add unit_record (or similar) support

noreply at rubyforge.org noreply at rubyforge.org
Mon Nov 19 00:35:56 EST 2007


Feature Requests item #14901, was opened at 2007-10-20 16:03
You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=3152&aid=14901&group_id=797

Category: None
Group: None
Status: Open
Priority: 3
Submitted By: David Chelimsky (dchelimsky)
Assigned to: Nobody (None)
Summary: add unit_record (or similar) support

Initial Comment:
unit_record allows you to enforce a rule that your tests never touch the database.

This request is that RSpec provide support for something similar, but that it be configurable at the spec level - so you can have arbitrary groups of specs that are not allowed to touch the DB and others that are.

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

Comment By: Chad Humphries (spicycode)
Date: 2007-11-19 00:35

Message:
Moved to http://rspec.lighthouseapp.com/projects/5645-rspec/tickets/125-14901-add-unit_record-or-similar-support#ticket-125-2

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

Comment By: David Chelimsky (dchelimsky)
Date: 2007-10-20 16:06

Message:
FYI:

http://www.dcmanges.com/blog/rails-unit-record-test-without-the-database

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

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


More information about the rspec-devel mailing list