From c89b88c8d0d9c42283cd404228f5079b93ff5a35 Mon Sep 17 00:00:00 2001 From: Andy Allan Date: Wed, 14 Nov 2018 12:25:21 +0100 Subject: [PATCH] Add a changeset to exercise that part of the contact rendering --- test/controllers/users_controller_test.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/controllers/users_controller_test.rb b/test/controllers/users_controller_test.rb index 7eda2a53a..deb736a7b 100644 --- a/test/controllers/users_controller_test.rb +++ b/test/controllers/users_controller_test.rb @@ -1005,6 +1005,8 @@ class UsersControllerTest < ActionController::TestCase user = create(:user, :home_lon => 1.1, :home_lat => 1.1) friend_user = create(:user, :home_lon => 1.2, :home_lat => 1.2) create(:friend, :befriender => user, :befriendee => friend_user) + create(:changeset, :user => friend_user) + get :show, :params => { :display_name => user.display_name } assert_response :success assert_select "div#userinformation" do -- 2.39.5