aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/controllers/que_jobs_controller_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/controllers/que_jobs_controller_test.rb b/test/controllers/que_jobs_controller_test.rb
index f5821e3..9cab867 100644
--- a/test/controllers/que_jobs_controller_test.rb
+++ b/test/controllers/que_jobs_controller_test.rb
@@ -10,7 +10,7 @@ class QueJobsControllerTest < ActionDispatch::IntegrationTest
post cancel_que_job_path(job.attrs['job_id'])
- assert_response :success
+ assert_response :redirect
end
test 'retry now' do
@@ -18,6 +18,6 @@ class QueJobsControllerTest < ActionDispatch::IntegrationTest
post retry_now_que_job_path(job.attrs['job_id'])
- assert_response :success
+ assert_response :redirect
end
end