DossierController#modifier → #brouillon
This commit is contained in:
parent
075a28d36a
commit
5ac8117c69
26 changed files with 52 additions and 52 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue