rename ref_formulaire into formulaire
This commit is contained in:
parent
a807ba5ae9
commit
c78a4f655b
15 changed files with 69 additions and 63 deletions
|
@ -1,6 +1,6 @@
|
|||
FactoryGirl.define do
|
||||
factory :dossier do
|
||||
ref_formulaire_id 12
|
||||
formulaire_id 12
|
||||
|
||||
trait :with_entreprise do
|
||||
after(:build) do |dossier, evaluator|
|
||||
|
|
|
@ -14,7 +14,7 @@ feature 'Demandes#Show Page' do
|
|||
end
|
||||
|
||||
scenario 'la liste des demandes possibles est présente' do
|
||||
expect(page).to have_selector ('select[id=ref_formulaire][name=ref_formulaire]');
|
||||
expect(page).to have_selector ('select[id=formulaire][name=formulaire]');
|
||||
end
|
||||
|
||||
scenario 'le bouton "Etape suivante" est présent' do
|
||||
|
|
|
@ -45,7 +45,7 @@ Dir[Rails.root.join("spec/factories/**/*.rb")].each { |f| require f }
|
|||
# If you are not using ActiveRecord, you can remove this line.
|
||||
ActiveRecord::Migration.check_pending! if defined?(ActiveRecord::Migration)
|
||||
|
||||
DatabaseCleaner.strategy = :truncation, {:except => %w[evenement_vies ref_formulaires types_piece_jointe]}
|
||||
DatabaseCleaner.strategy = :truncation, {:except => %w[evenement_vies formulaires types_piece_jointe]}
|
||||
|
||||
|
||||
if !(defined? SIADETOKEN)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
RSpec.configure do |config|
|
||||
config.before(:suite) do
|
||||
DatabaseCleaner.clean_with(:truncation, {:except => %w[evenement_vies ref_formulaires types_piece_jointe]})
|
||||
DatabaseCleaner.clean_with(:truncation, {:except => %w[evenement_vies formulaires types_piece_jointe]})
|
||||
end
|
||||
|
||||
config.before(:each) do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue