[rspec-users] Should I use cucumber or Controller RSpecs or both?

2012-02-13 Thread Cathal Curtis
Hi All, I'd like to get some other's opinions on testing controllers. Say I have a model and I want to prevent deletion of instances of it. The controllers's destroy action simply redirects to an error page - nothing else. Lets assume the relevant views have no links or buttons to delete the inst

Re: [rspec-users] Should I use cucumber or Controller RSpecs or both?

2012-02-15 Thread Cathal Curtis
Cathal Curtis wrote in post #1046554: I found what I think is the answer to my question by chance while doing some further searching on the web: http://groups.google.com/group/ruby-capybara/browse_thread/thread/7b6c92e4c96c9135 Jonas Nicklas describes it as using the wrong tool for the job