Commit 5e6e1dd5 authored by João Cunha's avatar João Cunha

Fix rubocop offenses

parent f933e612
...@@ -243,7 +243,7 @@ describe 'Clusters Applications', :js do ...@@ -243,7 +243,7 @@ describe 'Clusters Applications', :js do
retries = 0 retries = 0
while Clusters::Cluster.last.send("application_#{app}").nil? 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) sleep(1)
end end
...@@ -254,7 +254,7 @@ describe 'Clusters Applications', :js do ...@@ -254,7 +254,7 @@ describe 'Clusters Applications', :js do
updated_at = app.updated_at updated_at = app.updated_at
while updated_at == app.reload.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) sleep(1)
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment