session[:user] = create(:user).id
get :show, :params => { :id => issue.id }
assert_response :redirect
session[:user] = create(:user).id
get :show, :params => { :id => issue.id }
assert_response :redirect
session[:user] = create(:user).id
get :resolve, :params => { :id => issue.id }
assert_response :redirect
session[:user] = create(:user).id
get :resolve, :params => { :id => issue.id }
assert_response :redirect
session[:user] = create(:user).id
get :ignore, :params => { :id => issue.id }
assert_response :redirect
session[:user] = create(:user).id
get :ignore, :params => { :id => issue.id }
assert_response :redirect
session[:user] = create(:user).id
get :reopen, :params => { :id => issue.id }
assert_response :redirect
session[:user] = create(:user).id
get :reopen, :params => { :id => issue.id }
assert_response :redirect