diff --git a/spec/controllers/support_controller_spec.rb b/spec/controllers/support_controller_spec.rb index abf9a8187..4852a3b4b 100644 --- a/spec/controllers/support_controller_spec.rb +++ b/spec/controllers/support_controller_spec.rb @@ -111,7 +111,7 @@ describe SupportController, type: :controller do get :index expect(response.status).to eq(200) - expect(response.body).to have_content("Email *") + expect(response.body).to have_text("Email") end end diff --git a/spec/features/new_user/brouillon_spec.rb b/spec/features/new_user/brouillon_spec.rb index 244cf9b8d..7113da210 100644 --- a/spec/features/new_user/brouillon_spec.rb +++ b/spec/features/new_user/brouillon_spec.rb @@ -22,7 +22,7 @@ feature 'The user' do # fill data fill_in('text', with: 'super texte') fill_in('textarea', with: 'super textarea') - fill_in('date', with: '12/12/2012') + fill_in('date', with: '2012-12-12') select_date_and_time(Time.zone.parse('06/01/1985 7h05'), form_id_for('datetime')) fill_in('number', with: '42') check('checkbox')