Update wording in spec

This commit is contained in:
Mir Bhatia
2024-08-27 16:04:00 +02:00
committed by GitHub
parent ad339e14a0
commit a7770d7bd3
@@ -161,7 +161,7 @@ RSpec.describe WorkflowsController do
get :edit, params: { role_id: role.id.to_s, type_id: type.id.to_s, used_statuses_only: "1" }
end
it "is responds with the statuses", :aggregate_failures do
it "responds with the used statuses", :aggregate_failures do
expect(response)
.to have_http_status(:ok)
expect(response)
@@ -184,7 +184,7 @@ RSpec.describe WorkflowsController do
get :edit, params: { role_id: role.id.to_s, type_id: type.id.to_s }
end
it "is responds with the statuses", :aggregate_failures do
it "responds with all statuses", :aggregate_failures do
expect(response)
.to have_http_status(:ok)
expect(response)