Browse Source

Follow up - 2ffca390a967a962d03794c6ffac2e5e2946f2ff - Fixes #1961 - S/MIME integration: S/MIME manage view not update after adding certificate or key.

Mantas 4 years ago
parent
commit
c78652867b

+ 2 - 2
app/assets/javascripts/app/controllers/_integration/smime.coffee

@@ -55,12 +55,12 @@ class Form extends App.Controller
 
   addCertificate: =>
     new Certificate(
-      callback: @list
+      callback: @certList
     )
 
   addPrivateKey: =>
     new PrivateKey(
-      callback: @list
+      callback: @certList
     )
 
   updateGroup: (e) =>

+ 1 - 1
spec/system/system/integration/smime_spec.rb

@@ -15,7 +15,7 @@ RSpec.describe 'Manage > Integration > S/MIME', type: :system do
   end
 
   it 'enabling and adding of public and private key' do
-    visit '#system/integration/smime'
+    visit 'system/integration/smime'
 
     # enable S/MIME
     click 'label[for=setting-switch]'