require 'integration_test_helper' class MiniEnvironmentsControllerTest < ActionDispatch::IntegrationTest setup do login_as User.new end test 'show' do revision = GovukGuix::Revision.create!( commit_hash: 'test-commit-hash', store_path: 'test-store-path' ) mini_environment = MiniEnvironment.create!( govuk_guix_revision: revision, backend: Backends::TerraformLibvirt.create!, signon_users: [ { name: 'Test name', email: 'Test email', role: 'Test role', passphrase: 'Test passphrase' } ] ) get mini_environment_path(mini_environment) end end