For a beginner - good rspec examples?

I’m learning to use rspec and I want to see some good examples.

Any recommendations of open source projects that demonstrate the use
of rspec?

So far I’ve found:

  1. the Caboose sample app (http://sample.caboo.se/)

  2. the Altered Beast forums app
    (Parked at Loopia
    )

Any others come to mind?

I’m especially interested in seeing examples that spec RESTful
authentication.

Thanks,
Daniel

On Mar 11, 2008, at 8:52 AM, Daniel Kehoe wrote:

)

Any others come to mind?

I’m especially interested in seeing examples that spec RESTful
authentication.

Daniel,

I was in your place asking this question about a month ago. Here are
the pointers that were helpful to me.

[1]

[2] http://svn.nightlite.org/applications/cody/trunk/

After examining the links above, I rewrote a small project that I
already had working only this time I used BDD for the process. I ended
up writing about 50% more code and created about 100% more methods,
but the resulting program was much easier to understand and very easy
to extend. I also had 100% code coverage which was a first for me.

I don’t know if the code I wrote would be useful to you but I would be
happy to send you a tarball (under 50k) containing this project.

Good luck.

cr

David C.'s http://blog.davidchelimsky.net/ blog has a lot of
good
information as well.

On Tue, Mar 11, 2008 at 9:06 AM, Chuck R. [email protected]
wrote:

  1. the Caboose sample app (http://sample.caboo.se/)
    Daniel,
    already had working only this time I used BDD for the process. I ended

rspec-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rspec-users


Bryan R.

“Programming today is a race between software engineers striving to
build
bigger and better idiot-proof programs, and the Universe trying to
produce
bigger and better idiots. So far, the Universe is winning.”