aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2019-12-20 09:53:49 +0100
committerHans de Graaff <graaff@gentoo.org>2019-12-20 09:54:22 +0100
commitbbda6aaf9798e0b114271e59eaf30d2dcbe946c3 (patch)
tree1cbd1ab594f3d9839de84a1e2a9b64983dd00777 /test
parenttravis: use bionic and faster curl (diff)
downloadpackages-5-bbda6aaf9798e0b114271e59eaf30d2dcbe946c3.tar.gz
packages-5-bbda6aaf9798e0b114271e59eaf30d2dcbe946c3.tar.bz2
packages-5-bbda6aaf9798e0b114271e59eaf30d2dcbe946c3.zip
Fix rubocop warnings
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'test')
-rw-r--r--test/integration/arches_routes_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/integration/arches_routes_test.rb b/test/integration/arches_routes_test.rb
index d654118..47f2897 100644
--- a/test/integration/arches_routes_test.rb
+++ b/test/integration/arches_routes_test.rb
@@ -9,7 +9,7 @@ class ArchesRoutesTest < ActionDispatch::IntegrationTest
test 'view keyworded packages for arch' do
arches = %w[alpha amd64 arm arm64 hppa ia64 ppc ppc64 sparc x86]
arches.each do |arch|
- get ('/arches/' + arch + '/keyworded')
+ get '/arches/' + arch + '/keyworded'
assert_select 'h1', ('Keyworded Packages (' + arch + ')')
end
end
@@ -17,7 +17,7 @@ class ArchesRoutesTest < ActionDispatch::IntegrationTest
test 'view stable packages for arch' do
arches = %w[alpha amd64 arm arm64 hppa ia64 ppc ppc64 sparc x86]
arches.each do |arch|
- get ('/arches/' + arch + '/stable')
+ get '/arches/' + arch + '/stable'
assert_select 'h1', ('Newly Stable Packages (' + arch + ')')
end
end