chore: don't wrap "en test" tag/breadcrumb
This commit is contained in:
parent
029db3b1cb
commit
28e8c786fa
2 changed files with 6 additions and 12 deletions
|
@ -10,7 +10,7 @@ fr:
|
|||
since: "depuis le %{date}"
|
||||
closed: "Close"
|
||||
published: "Publiée"
|
||||
draft: "En test"
|
||||
draft: "En test"
|
||||
more_info_on_test: "Pour plus d’information sur la phase de test"
|
||||
go_to_FAQ: "consulter la FAQ"
|
||||
url_FAQ: "/faq#accordion-administrateur-2"
|
||||
|
|
|
@ -16,17 +16,11 @@ describe 'administrateurs/procedures/show', type: :view do
|
|||
render
|
||||
end
|
||||
|
||||
describe 'publish button is visible' do
|
||||
it { expect(rendered).to have_css('#publish-procedure-link') }
|
||||
it { expect(rendered).not_to have_css('#close-procedure-link') }
|
||||
end
|
||||
|
||||
describe 'procedure path is not customized' do
|
||||
it { expect(rendered).to have_content('En test') }
|
||||
end
|
||||
|
||||
describe 'archive button' do
|
||||
it { expect(rendered).not_to have_css('#archive-procedure') }
|
||||
it "render content" do
|
||||
expect(rendered).to have_css('#publish-procedure-link')
|
||||
expect(rendered).not_to have_css('#close-procedure-link')
|
||||
expect(rendered).to have_content('En test')
|
||||
expect(rendered).not_to have_css('#archive-procedure')
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue