nce of your rack-compatible application.
>
> On Saturday, February 12, 2011, Doug Bryant
> wrote:
> > On one of my projects using rspec 2.5 & rails 3.0.4, I recently moved
> from postgres to mongo and am using mongoid as the persistence library.
> > I ported all the models ove
On one of my projects using rspec 2.5 & rails 3.0.4, I recently moved from
postgres to mongo and am using mongoid as the persistence library.
I ported all the models over to the mongoid way of doing things and now have
all my models passing the tests.
None of the controller test work any more. T
I'm currently running into the same issue and can find very little about it
on the interwebs - i.e. an individual test run with `script/spec` works fine
but the same test without any code changes fails when run as part of the
suite via `rake spec`
This issue seemed to start out of the blue. Some
I'm having a problems mocking successive return values. I don't know
if I'm doing something wrong or if this is a limitation of rspec
mocks. Any ideas of what I may be doing wrong?
I'm trying to test the generate_quote_number method. It generates a
quote number, looks to see if it is in
Thanks Ben. I appreciate it.
Doug
On Wed, Mar 5, 2008 at 1:25 PM, Ben Mabey <[EMAIL PROTECTED]> wrote:
> Doug Bryant wrote:
> > I'm having a problems mocking successive return values. I don't know
> > if I'm doing something wrong or if this is a limitati
I'm having a problems mocking successive return values. I don't know if I'm
doing something wrong or if this is a limitation of rspec mocks. Any ideas
of what I may be doing wrong?
I'm trying to test the generate_quote_number method. It generates a quote
number, looks to see if it is in the db