[rspec-users] Suggestions on how to use stub_model with webrat?

2008-06-24 Thread Danny Sofer
Hi all, I am using story runner with webrat, but I am not sure how to incorporate stub_model into my tests. The webrat steps only care about the user interface and have nothing to say about interaction with the database. Following Ben Mabey, I have a line in my story like: "When clicks t

Re: [rspec-users] RSpec story failing because of routing error on "/"

2008-06-15 Thread Danny Sofer
On 15 Jun 2008, at 14:09, David Chelimsky wrote: On Jun 15, 2008, at 4:33 AM, Danny Sofer wrote: When running tests on the restful_authentication plugin, I am getting a routing error on "/". Which I don't really understand, because the route "/" certainly do

[rspec-users] RSpec story failing because of routing error on "/"

2008-06-15 Thread Danny Sofer
thub.com/technoweenie/restful-authentication.git vendor/plugins/restful-authentication ./script/generate rspec ./script/generate authenticated user sessions mate app/controllers (and added " include AuthenticatedSystem" to the application controller) rake db:migrate rake db:test:prepar