Browse Source

Fix spec description

pull/674/head
baarkerlounger 3 years ago
parent
commit
c1d58b3599
  1. 2
      spec/requests/form_controller_spec.rb

2
spec/requests/form_controller_spec.rb

@ -154,7 +154,7 @@ RSpec.describe FormController, type: :request do
end end
context "when the dependency is not met" do context "when the dependency is not met" do
it "routes to the page" do it "redirects to the tasklist page" do
get "/logs/#{case_log.id}/organisation" get "/logs/#{case_log.id}/organisation"
expect(response).to redirect_to("/logs/#{case_log.id}") expect(response).to redirect_to("/logs/#{case_log.id}")
end end

Loading…
Cancel
Save