diff options
Diffstat (limited to 'spec/features')
| -rw-r--r-- | spec/features/users/user_edit_spec.rb | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/spec/features/users/user_edit_spec.rb b/spec/features/users/user_edit_spec.rb index 14995d8e5..020a4bc57 100644 --- a/spec/features/users/user_edit_spec.rb +++ b/spec/features/users/user_edit_spec.rb @@ -40,8 +40,8 @@ feature 'User edit', :devise do      other = FactoryGirl.create(:user, email: 'other@example.com')      login_as(me, :scope => :user)      visit edit_user_registration_path(other) -    expect(page).to have_content 'Votre Profil' -    expect(page).to have_field('Email', with: me.email) +    expect(page).to have_content I18n.t('devise.registrations.edit.title') +    expect(page).to have_field(I18n.t('simple_form.labels.user.email'), with: me.email)    end  end | 
