- session[:user] = create(:administrator_user).id
- get :resolve, :params => { :id => issue.id }
- assert_response :not_found
- assert_not issue.reload.resolved?
+ session_for(create(:administrator_user))
+ post resolve_issue_path(issue)
+ assert_redirected_to :controller => :errors, :action => :not_found
+ assert_not_predicate issue.reload, :resolved?