daveworth/Indirizzo — comment on commit e32f033dba1b8d1f1681c02cba9c98539c542000
File: test/test_address.rb line 78
By daveworth:

Follow up.. I *entirely* misread the above snipped, and it lacks context,
but I assume you meant *exactly* what I ended up doing in this gist:
https://gist.github.com/1491978? Am I right? Great call! Thank you so
much!

David Worth
Highgroove Studios, No Robots Allowed Inc.
www.highgroove.com
dave@highgroove.com
(678) 248-2440 x104

On Sat, Dec 17, 2011 at 11:46 AM, Dave@Highgroove wrote:

> I tried that to no avail! Maybe we can pair for 5-10min on Monday?
>
> Dave
>
> Sent from my tiny iKeyboard with fat fingers.
>
> On Dec 17, 2011, at 9:35 AM, Andy Lindeman<
> reply@reply.github.com>
> wrote:
>
> > Something that might work to do one test per fixture with test::unit is:
> >
> > ```ruby
> > [
> > {
> > :text => "1600 ...",
> > },
> > {
> > :text => "1005 ...",
> > }
> > # etc...
> > ].each_with_index do |fixture, index|
> > define_method("test_fixture_" + index) do
> > check_addr(fixture)
> > end
> > end
> > ```
> >
> > You might be able to get fancier with better method names too at some
> point.
> >
> > ---
> > Reply to this email directly or view it on GitHub:
> >
> https://github.com/daveworth/Indirizzo/commit/e32f033dba1b8d1f1681c02cba9c98539c542000#commitcomment-803157
>