diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-02-28 19:56:16 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-02-28 19:56:36 +0200 |
commit | 1c517153a889f77f0a2c321ce4e013f4504253e9 (patch) | |
tree | c5ba3f11af8f7b23baa922bce736059e3687b995 /spec/features/admin | |
parent | 9a5c152c0eaac36f91b073e99ff1235c4467933b (diff) | |
download | gitlab-ce-1c517153a889f77f0a2c321ce4e013f4504253e9.tar.gz |
fix admin users tests
Diffstat (limited to 'spec/features/admin')
-rw-r--r-- | spec/features/admin/admin_users_spec.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/features/admin/admin_users_spec.rb b/spec/features/admin/admin_users_spec.rb index 77d6e9e3795..22d1ee91480 100644 --- a/spec/features/admin/admin_users_spec.rb +++ b/spec/features/admin/admin_users_spec.rb @@ -55,8 +55,8 @@ describe "Admin::Users" do user = User.last email = ActionMailer::Base.deliveries.last email.subject.should have_content("Account was created") - email.body.should have_content(user.email) - email.body.should have_content(@password) + email.text_part.body.should have_content(user.email) + email.text_part.body.should have_content(@password) end end @@ -67,8 +67,8 @@ describe "Admin::Users" do user = User.last email = ActionMailer::Base.deliveries.last email.subject.should have_content("Account was created") - email.body.should have_content(user.email) - email.body.should_not have_content(@password) + email.text_part.body.should have_content(user.email) + email.text_part.body.should_not have_content(@password) end end end |