On 7/25/07, Mikel Lindsaar <[EMAIL PROTECTED]> wrote:
Kyle,
That is a good point. We are after the behaviour, not the implementation.
Regards
Mikel
On 7/25/07, Daniel N <[EMAIL PROTECTED]> wrote:
>
>
>
> On 7/25/07, Kyle Hargraves <[EMAIL PROTECTED]> wrote:
> > Daniel N wrote:
> > > On 7/25
Hey list,
RSpec is great, I've been using it at work for a couple of months now. One
gripe I have is that I find it hard to know exactly to what extent my code
is covered by the specs. I am aware of RCov and Heckle; they're great, but
I'd like to demonstrate another perspective of coverage analys
On 24 Jul 2007, at 14:49, Daniel N wrote:
> That looks like the kind of thing I was initially thinking of, but
> I started to think that having all those objects being created in a
> non-related spec could lead to trouble. If I change what makes any
> of those objects valid, these supposed
On 25 Jul 2007, at 01:07, Kyle Hargraves wrote:
> Going through reflect_on_association feels too much like specifying
> the
> use of a particular implementation, rather than the desired outcome.
I second that. I agree that you should only test the code you write,
but unfortunately(!) you ge
Really cool - I have asked myself that question several times.
/Marcus
On 7/25/07, Ian Leitch <[EMAIL PROTECTED]> wrote:
> Hey list,
>
> RSpec is great, I've been using it at work for a couple of months now. One
> gripe I have is that I find it hard to know exactly to what extent my code
> is cov
I am having a weird error that I have not had before... I'm bouncing
it off the list to see if anyone else has had it, or to give me some
pointers about how to find it.
Basically, AUTOTEST will run (RSpec mode), fine, then suddenly, will
complain that RAILS_ROOT is undefined.
Then I stop and rest
Don't fear... chalk this up to an error casued between the screen and
keyboard...
The specs that were causing this problem had a missing spec_helper.rb line.
duh!
Regards
Mikel
On 7/26/07, Mikel Lindsaar <[EMAIL PROTECTED]> wrote:
> I am having a weird error that I have not had before... I'm