summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/functional/users_controller_test.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/functional/users_controller_test.rb b/test/functional/users_controller_test.rb
index d1fdd2150..2798c023d 100644
--- a/test/functional/users_controller_test.rb
+++ b/test/functional/users_controller_test.rb
@@ -420,8 +420,11 @@ class UsersControllerTest < Redmine::ControllerTest
def test_edit
- get :edit, :params => {:id => 2}
+ with_settings :gravatar_enabled => '1' do
+ get :edit, :params => {:id => 2}
+ end
assert_response :success
+ assert_select 'h2>a+img.gravatar'
assert_select 'input[name=?][value=?]', 'user[login]', 'jsmith'
end