[rspec-users] Confused about square bracket usage.

2008-08-10 Thread Teedub
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

Re: [rspec-users] Newbie question, populate or ignore test db

2008-07-26 Thread Teedub
-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

Re: [rspec-users] Newbie question, populate or ignore test db

2008-07-21 Thread Teedub
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

[rspec-users] Newbie question, populate or ignore test db

2008-07-20 Thread Teedub
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_