Stephen Eley wrote:
Ben and Rick,
Thanks very much to both of you for the encouraging responses. Your
reply, Ben, came just in time as I was starting to wonder if I had
made a complete and irrevocable ass of myself.
On Fri, Jun 12, 2009 at 10:36 AM, Ben Mabeyb...@benmabey.com wrote:
In
On 6/12/09 1:43 AM, Matt Wynne wrote back to Lee who said:
I am wondering if there is a way to avoid having to specify params in
each and every example by adding some code to a before[:each] block?
There are several ways of doing this. The pattern I tend to us is to
create a method that does
David Chelimsky wrote:
On Fri, Jun 12, 2009 at 6:42 AM, Alexandre Da
Silvali...@ruby-forum.com wrote:
rails blogapp
cd blogapp
script/generate rspec
script/generate rspec_scaffold posts title:string body:text
rake db:migrate
autospec
I just copied this all into a shell and the specs
I happened to mix ryan bates' authentication scaffold with
rspec_scaffold on a demo project.
and ran into the problem of mixing mock frameworks...ryan uses mocha.
So, as a learning experience, I choose to redo ryan's tests without
mocha but ran into a strange problem with tests of the User
On Sat, Jun 13, 2009 at 4:30 PM, Dougdgoldi...@gmail.com wrote:
I happened to mix ryan bates' authentication scaffold with
rspec_scaffold on a demo project.
and ran into the problem of mixing mock frameworks...ryan uses mocha.
So, as a learning experience, I choose to redo ryan's tests