aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2018-06-21 20:45:46 +0100
committerChristopher Baines <mail@cbaines.net>2018-06-21 20:45:46 +0100
commite14f9f452347417a4cf565ce3a0b084fe479e076 (patch)
tree92ee26446f745aff870714bf0a9a8fdeab7cfffa /test
parentd98eb528678dcd850a20dbf8eef53aaea6e07552 (diff)
downloadgovuk-mini-environment-admin-e14f9f452347417a4cf565ce3a0b084fe479e076.tar
govuk-mini-environment-admin-e14f9f452347417a4cf565ce3a0b084fe479e076.tar.gz
Fix an issue with the setup page
And add some test data to make the corresponding test more rigorous.
Diffstat (limited to 'test')
-rw-r--r--test/controllers/setup_controller_test.rb2
1 files changed, 2 insertions, 0 deletions
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