From 5e6e1dd54ae80f6725d75da01eb024d40aa47167 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Cunha?= Date: Tue, 5 Mar 2019 15:14:29 +0000 Subject: Fix rubocop offenses --- spec/features/projects/clusters/applications_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'spec/features') diff --git a/spec/features/projects/clusters/applications_spec.rb b/spec/features/projects/clusters/applications_spec.rb index d97bf246ce3..7eabcda286a 100644 --- a/spec/features/projects/clusters/applications_spec.rb +++ b/spec/features/projects/clusters/applications_spec.rb @@ -243,7 +243,7 @@ describe 'Clusters Applications', :js do retries = 0 while Clusters::Cluster.last.send("application_#{app}").nil? - raise "Timed out waiting for #{ app } application to be created in DB" if (retries += 1) > 3 + raise "Timed out waiting for #{app} application to be created in DB" if (retries += 1) > 3 sleep(1) end @@ -254,7 +254,7 @@ describe 'Clusters Applications', :js do updated_at = app.updated_at while updated_at == app.reload.updated_at - raise "Timed out waiting for #{ app } application to be created in DB" if (retries += 1) > 3 + raise "Timed out waiting for #{app} application to be created in DB" if (retries += 1) > 3 sleep(1) end -- cgit v1.2.1