RSpec on Rails: acts_as_authenticated 1

Posted by yrashk

As you may know, we at Railsware are using RSpec now.

I’ve found that I need ospecifications for a acts_as_authenticated plugin.

While I was able to find a spec for its controller at caboo.se, I haven’t found any spec for a model. May be I’m just blind this night, but anyway I’ve wrote my own

Update: I’ve found Caboo.se implementation of specification being far from perfect, so I have improved it a bit: account_controller_spec.rb

Update:Jonathan used this blog entry to deliver RESTful authentication specifications Nice to hear!