Merge pull request #796 from sgmap/fix-build

Fix build
This commit is contained in:
gregoirenovel 2017-10-06 10:31:27 +02:00 committed by GitHub
commit 52cfc8b92b
2 changed files with 5 additions and 2 deletions

View file

@ -85,7 +85,9 @@ feature 'The gestionnaire part' do
click_on dossier.user.email click_on dossier.user.email
expect(page).to have_current_path(avis_path(dossier.avis.first)) expect(page).to have_current_path(avis_path(dossier.avis.first))
click_on 'Instruction' within(:css, '.tabs') do
click_on 'Avis'
end
expect(page).to have_current_path(instruction_avis_path(dossier.avis.first)) expect(page).to have_current_path(instruction_avis_path(dossier.avis.first))
within(:css, '.give-avis') do within(:css, '.give-avis') do
@ -103,7 +105,7 @@ feature 'The gestionnaire part' do
click_on 'nouvelle interface' click_on 'nouvelle interface'
click_on procedure.libelle click_on procedure.libelle
click_on dossier.user.email click_on dossier.user.email
click_on 'Avis Externes' click_on 'Avis externes'
expect(page).to have_text('a great answer') expect(page).to have_text('a great answer')
end end

View file

@ -89,6 +89,7 @@ RSpec.configure do |config|
config.infer_base_class_for_anonymous_controllers = false config.infer_base_class_for_anonymous_controllers = false
config.run_all_when_everything_filtered = true
config.filter_run :show_in_doc => true if ENV['APIPIE_RECORD'] config.filter_run :show_in_doc => true if ENV['APIPIE_RECORD']
config.filter_run :focus => true config.filter_run :focus => true