search for: correspondencescontrol

Displaying 1 result from an estimated 1 matches for "correspondencescontrol".

2011 Aug 10
5
ControllerExampleGroup.bypass_rescue
As best I can tell, bypass_rescue from rspec-rails-1 is no longer part of rspec-rails, ''> 2''. I had been using it on occasion for things like: describe CorrespondencesController do ... describe ''#show'' do it "should raise an AuthorizationError if current user is not the correspondent " do bypass_rescue ... expect { do_get }.to raise_error(AuthorizationError) I know there are conflicting opinions on whether or not it...