I ran script/generate rspec_scaffold page title:string body:text and
have been reading on the generated code in my spare time in an attempt
to fully understand rspec. It mostly makes a lot of sense except for
the square brackets in the snippet below. To my best understanding,
[mock_page] would be a
-2008, at 6:43, Teedub wrote:
>
> > Thanks
> > rake db:test:prepare did the trick. I am still a bit confused as to
> > why rake cares about a database that it isn't using.
> > But I guess that will all fall into place in my brain one day.
>
> Well, the test database is
Thanks
rake db:test:prepare did the trick. I am still a bit confused as to
why rake cares about a database that it isn't using.
But I guess that will all fall into place in my brain one day.
Teedub
On Jul 21, 1:01 am, Rahoul Baruah <[EMAIL PROTECTED]> wrote:
> On 21 Jul 2008, a
Hi,
I have been attempting to get rspec running on Ubuntu without much
luck.
I finally got it to go, but I can't figure out how to turn off the
database access.
I created a new test project named myspec
Ran
script/generate rspec
and then so I would have restful routes, ran
script/generate rspec_