summaryrefslogtreecommitdiff
path: root/test/functional
diff options
context:
space:
mode:
authorAzul <azul@leap.se>2014-05-26 09:56:11 +0200
committerAzul <azul@leap.se>2014-05-26 09:56:11 +0200
commitf221e5313fe54a2efa127b547916c7c812110449 (patch)
treebd5dfd8997cc4c19f093573acdd68b66e1935b0f /test/functional
parent00d5adc90ccadc7f4a2a0d54a5a31a1ad02f05be (diff)
fix test to require login
Diffstat (limited to 'test/functional')
-rw-r--r--test/functional/v1/smtp_certs_controller_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/v1/smtp_certs_controller_test.rb b/test/functional/v1/smtp_certs_controller_test.rb
index ae1a214..9281ae6 100644
--- a/test/functional/v1/smtp_certs_controller_test.rb
+++ b/test/functional/v1/smtp_certs_controller_test.rb
@@ -5,7 +5,7 @@ class V1::SmtpCertsControllerTest < ActionController::TestCase
test "no smtp cert without login" do
with_config allow_anonymous_certs: true do
post :create
- assert_access_denied
+ assert_login_required
end
end