On Sat, Jan 2, 2010 at 4:50 PM, Rick DeNatale wrote:
> On Sat, Jan 2, 2010 at 4:35 PM, David Chelimsky
> wrote:
> >
> >
> > On Sat, Jan 2, 2010 at 3:23 PM, Andrew Premdas
> wrote:
> >>
> >> 2009/12/30 rogerdpack
> >>>
> >>> > What about something like:
> >>> >
> >>> > expected # => Fixnum to
On Sat, Jan 2, 2010 at 4:35 PM, David Chelimsky wrote:
>
>
> On Sat, Jan 2, 2010 at 3:23 PM, Andrew Premdas wrote:
>>
>> 2009/12/30 rogerdpack
>>>
>>> > What about something like:
>>> >
>>> > expected # => Fixnum to be a kind of Fixnum
>>> >
>>> > That is more aligned with other failure messag
Hi Phillip
Phillip Koebbe wrote:
Have you read about fixtures? It sounds like just what you're looking
for.
I'm using fixtures already - they're great. I can't find a way to load
a specific fixture in to a table. If I could do that, I could load a
set of data, run the code, check the resu
On Jan 2, 5:17 am, Peter Hicks wrote:
>
> How best should I tackle this? Where should I put the YAML files and is
> there any functionality in RSpec that will help? Should I roll my own
> "load test data" code and present that to the test code?
>
> Best wishes,
>
> Peter
Hi Peter,
Have you rea
On Sat, Jan 2, 2010 at 3:23 PM, Andrew Premdas wrote:
> 2009/12/30 rogerdpack
>
> > What about something like:
>> >
>> > expected # => Fixnum to be a kind of Fixnum
>> >
>> > That is more aligned with other failure messages. WDYT?
>>
>> I quite like it.
>> In this instance it was
>>
>> 3.class
2009/12/30 rogerdpack
> > What about something like:
> >
> > expected # => Fixnum to be a kind of Fixnum
> >
> > That is more aligned with other failure messages. WDYT?
>
> I quite like it.
> In this instance it was
>
> 3.class.should be_a Fixnum # fails
>
> I suppose it would be something like
All,
I am writing specs for some multi-stage tests which require a lot of
input data.
A simplified overview of the tests is as follows:
* Provide list of network interfaces, confirm they are added to the
database
* Provide list of network interfaces as above, but with one entry
added, and