From ce57414595e6daac6251ca3debc05b21de780b6a Mon Sep 17 00:00:00 2001 From: Karina Kwiatek Date: Sat, 8 Jan 2022 21:40:57 +0100 Subject: [PATCH] Update `UserController` tests to match rename of followings --- spec/controllers/user_controller_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/controllers/user_controller_spec.rb b/spec/controllers/user_controller_spec.rb index ef51df37..c095398c 100644 --- a/spec/controllers/user_controller_spec.rb +++ b/spec/controllers/user_controller_spec.rb @@ -35,8 +35,8 @@ describe UserController, type: :controller do end end - describe "#friends" do - subject { get :friends, params: { username: user.screen_name } } + describe "#followings" do + subject { get :followings, params: { username: user.screen_name } } context "user signed in" do before(:each) { sign_in user }