aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/views/setup/show.html.erb2
-rw-r--r--test/controllers/setup_controller_test.rb2
2 files changed, 3 insertions, 1 deletions
diff --git a/app/views/setup/show.html.erb b/app/views/setup/show.html.erb
index 1a88852..c3ed3b8 100644
--- a/app/views/setup/show.html.erb
+++ b/app/views/setup/show.html.erb
@@ -76,7 +76,7 @@ License along with the GOV.UK Mini Environment Admin. If not, see
<a href="#" class="list-group-item disabled">
Fetching
<span style="font-family: monospace;">
- <%= job["args"].first %>
+ <%= job[:args].first %>
</span>
<div class="progress pull-right" style="width: 21.2em">
diff --git a/test/controllers/setup_controller_test.rb b/test/controllers/setup_controller_test.rb
index 0f8326b..9524f71 100644
--- a/test/controllers/setup_controller_test.rb
+++ b/test/controllers/setup_controller_test.rb
@@ -4,6 +4,8 @@ class SetupControllerTest < ActionDispatch::IntegrationTest
test 'show' do
login_as User.new(name: 'Test')
+ GovukGuix::FetchRevisionJob.enqueue('test-revision')
+
get setup_path
assert_response :success