wrap existing spec in specific context
This commit is contained in:
parent
f77a6cfc14
commit
0b90c81c3a
1 changed files with 49 additions and 47 deletions
|
@ -269,6 +269,7 @@ describe 'The user' do
|
|||
context 'with condition' do
|
||||
include Logic
|
||||
|
||||
context 'with a visibilite in cascade' do
|
||||
let(:procedure) do
|
||||
procedure = create(:procedure, :for_individual).tap do |p|
|
||||
p.draft_revision.add_type_de_champ(type_champ: :integer_number, libelle: 'age')
|
||||
|
@ -330,6 +331,7 @@ describe 'The user' do
|
|||
expect(page).to have_css('label', text: 'tonnage', visible: true)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
context 'draft autosave' do
|
||||
scenario 'autosave a draft', js: true do
|
||||
|
|
Loading…
Add table
Reference in a new issue