summaryrefslogtreecommitdiff
path: root/test/functional/v1
diff options
context:
space:
mode:
authorAzul <azul@leap.se>2014-05-19 14:50:16 +0200
committerAzul <azul@leap.se>2014-05-19 14:50:16 +0200
commite8ba98df64cb537e85de8624c0ebb08c4135ccca (patch)
tree6c45ae6672b59857b23f988dbec44e413cf6607a /test/functional/v1
parent17b67aeda81dee2273ce1161ac7292a328c3efaa (diff)
minor: fix tests
Diffstat (limited to 'test/functional/v1')
-rw-r--r--test/functional/v1/smtp_certs_controller_test.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/functional/v1/smtp_certs_controller_test.rb b/test/functional/v1/smtp_certs_controller_test.rb
index f9ba26f..169f414 100644
--- a/test/functional/v1/smtp_certs_controller_test.rb
+++ b/test/functional/v1/smtp_certs_controller_test.rb
@@ -18,6 +18,7 @@ class V1::SmtpCertsControllerTest < ActionController::TestCase
test "send cert with username" do
login effective_service_level: ServiceLevel.new(id: 2)
cert = expect_cert(@current_user.email_address)
+ cert.expects(:fingerprint).returns('fingerprint')
get :show
assert_response :success
assert_equal cert.to_s, @response.body