DossierController#modifier → #brouillon

This commit is contained in:
gregoirenovel 2018-09-06 09:09:23 +02:00
parent 075a28d36a
commit 5ac8117c69
26 changed files with 52 additions and 52 deletions

View file

@ -31,7 +31,7 @@ RSpec.describe DossierHelper, type: :helper do
context "when the dossier is in the brouillon state" do
let(:dossier) { create(:dossier, state: Dossier.states.fetch(:brouillon)) }
it { is_expected.to eq "/dossiers/#{dossier.id}/modifier" }
it { is_expected.to eq "/dossiers/#{dossier.id}/brouillon" }
end
context "when the dossier is any other state" do