Displaying 2 results from an estimated 2 matches for "all_fixtur".
Did you mean:
all_fixtures
2006 Jul 24
1
Testing w/out DB connection
I have several plain ruby classes that do nothing but implement
algorithms. What is the prefferred way to run these w/out making a DB
connection every time?
Thanks,
Dennis Byrne
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060724/5ff610dd/attachment.html
2006 Aug 04
1
All Fixtures plugin
Just released a very simple plugin for including all fixtures in your
tests. Once you have a large number of table, manually managing the
fixtures for every single test stub can be quite tedious.
Use as follows
class BlogArticleTest < Test::Unit::TestCase
all_fixtures
def test_foo
...
end
end
Couldn''t be easier. More info here:
http://beautifulpixel.com/articles/2006/08/04/all-fixtures-plugin
It works by simply scanning the fixtures directory for *.yml files, and
converts it to an array of symbols that gets passed to the fixtures...