test/controllers/tasks_controller_test.rb in shipit-engine-0.28.1 vs test/controllers/tasks_controller_test.rb in shipit-engine-0.29.0
- old
+ new
@@ -57,10 +57,10 @@
end
test "triggered tasks can be observed as raw text" do
get :show, params: {stack_id: @stack, id: @task.id}, format: 'txt'
assert_response :success
- assert_equal("text/plain", @response.content_type)
+ assert_equal("text/plain", @response.media_type)
end
test ":abort call abort! on the deploy" do
@task = shipit_deploys(:shipit_running)
@task.ping