From 27a605d97439f997ae149f5e3221f64a4d862126 Mon Sep 17 00:00:00 2001 From: Oleksii Kriuchykhin Date: Fri, 16 Mar 2018 11:05:38 +0100 Subject: [PATCH] Fix failing test [SCI-2148][SCI-2149] --- app/models/samples_table.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/samples_table.rb b/app/models/samples_table.rb index c0c404055..95311c211 100644 --- a/app/models/samples_table.rb +++ b/app/models/samples_table.rb @@ -41,7 +41,7 @@ class SamplesTable < ApplicationRecord SAMPLES_TABLE_DEFAULT_STATE['columns'].first team_status['ColReorder'].insert(2, index) end - samples_table.first.update(status: team_status) + samples_table.update(status: team_status) end def self.create_samples_table_state(user_team)