I've got this test:
describe LoginController do describe "GET index" do it "should be successful" do get 'index' response.should be_success end end end which passes, but a cucumber test fails on trying to get the index for LoginController, with the message: No action responded to index. Actions: This error happens in cucumber & on a manual test (with a 404 status in the headers) because the LoginController is empty & there is no index view for it, but I want a failing rspec test before I correct it, but it insists that it's getting a 200 status. Any ideas? Thanks -- View this message in context: http://www.nabble.com/RSpec-not-failing-when-requesting-missing-method-view-tp24233965p24233965.html Sent from the rspec-users mailing list archive at Nabble.com.
_______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users