Displaying 2 results from an estimated 2 matches for "fixturescenarios".
Did you mean:
fixture_scenarios
2007 Aug 10
3
FixtureScenarios
This may have turned up in the RSS feeds of many of you already, but
for those who haven''t seen it yet, looks intersting:
<http://errtheblog.com/post/7708>
> The main problem with fixtures, for me, has always been how unfun
> they are. They literally suck the fun out of anything they?re
> around. You throw them in your test/ directory, then suddenly
> testing
2007 Nov 20
9
Testing Models without fixtures
Hi,
I would like to test a sorting method that is in the user model, it''s
a class method called search.
What I would like to do is create 2 users and load the test database
with just those 2 users, so that I can call
User.search("john") and it would return those two users.
Not sure how to clear the test database and populate it just with
these 2 users for that specific