search for: only_one_signed_up_us

Displaying 1 result from an estimated 1 matches for "only_one_signed_up_us".

2007 May 21
2
Rails'' fixtures suck! But what about something like this?
...y to follow DRY. Solution: --------- + Versioned Fixtures First, to address the fixture "versions", I thought the easiest way to do this would be scenarios (I was inspired from fixture-scenarios). The way fixtures could be laid out is as follows: + specs |- fixtures |- global |- only_one_signed_up_user |- lots_of_posts_in_los_angeles |- ... All global fixtures (fixtures that should be loaded before every spec) go into global, then, for each different scenario, there is a directory created with the relevant fixtures in there. Then, in the specs, you could do the following ---------------...