[rspec-users] How do I specify login with controller spec with rspec-rails?

femto Zheng femtowin at gmail.com
Wed Jul 18 10:42:39 UTC 2012


Hello all, I'm new to rspec-rails,
looking at rspec-rails's documentation is a bit confusing,
I have an application,
where users needs to login to use,
so how do I specify login with controller spec with rspec-rails?

like a config.(:before_every_example) login something?
could someone provide some information? thanks.

-- 
http://hi.baidu.com/femto
http://www.aisiming.com/
http://maptu.heroku.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/rspec-users/attachments/20120718/8f9c828d/attachment.html>


More information about the rspec-users mailing list