From 23498e54aa1d32ee2182552c27ae5b00b9b55eeb Mon Sep 17 00:00:00 2001 From: Gerhard Schlager Date: Fri, 23 Feb 2018 13:35:15 +0100 Subject: [PATCH] Fix the build --- spec/controllers/topic_controller_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/controllers/topic_controller_spec.rb b/spec/controllers/topic_controller_spec.rb index 6be013eb884..37e5c9cb308 100644 --- a/spec/controllers/topic_controller_spec.rb +++ b/spec/controllers/topic_controller_spec.rb @@ -33,7 +33,7 @@ describe TopicsController do get :show, params: { id: 666 } expect(controller.theme_key).to eq(theme.key) - theme.update_columns(user_selectable: false) + theme.update_attribute(:user_selectable, false) get :show, params: { id: 666 } expect(controller.theme_key).not_to eq(theme.key)