summaryrefslogtreecommitdiff
path: root/certs/test/unit/client_certificate_test.rb
diff options
context:
space:
mode:
authorazul <azul@riseup.net>2013-01-31 10:26:33 -0800
committerazul <azul@riseup.net>2013-01-31 10:26:33 -0800
commit1bef299f60d742abb3a1b1db7fb6e6021f11ece2 (patch)
treeb449fea406e45de9e4cfd9462c4fc5cb01c74cee /certs/test/unit/client_certificate_test.rb
parentdac578781baf73a006cc78e29588dd1f6fdc0fd3 (diff)
parent8d9c2e90b77d417f9715c95de91c629e80ca6603 (diff)
Merge pull request #22 from leapcode/feature/merge_leap_ca
merge leap ca
Diffstat (limited to 'certs/test/unit/client_certificate_test.rb')
-rw-r--r--certs/test/unit/client_certificate_test.rb14
1 files changed, 14 insertions, 0 deletions
diff --git a/certs/test/unit/client_certificate_test.rb b/certs/test/unit/client_certificate_test.rb
new file mode 100644
index 0000000..492a44a
--- /dev/null
+++ b/certs/test/unit/client_certificate_test.rb
@@ -0,0 +1,14 @@
+require 'test_helper'
+
+class ClientCertificateTest < ActiveSupport::TestCase
+
+ setup do
+ @sample = ClientCertificate.new
+ end
+
+ test "new cert has all we need" do
+ assert @sample.key
+ assert @sample.cert
+ end
+
+end