summaryrefslogtreecommitdiff
path: root/certs/test/functional
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/functional
parentdac578781baf73a006cc78e29588dd1f6fdc0fd3 (diff)
parent8d9c2e90b77d417f9715c95de91c629e80ca6603 (diff)
Merge pull request #22 from leapcode/feature/merge_leap_ca
merge leap ca
Diffstat (limited to 'certs/test/functional')
-rw-r--r--certs/test/functional/certs_controller_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/certs/test/functional/certs_controller_test.rb b/certs/test/functional/certs_controller_test.rb
index 3d6946e..75256ca 100644
--- a/certs/test/functional/certs_controller_test.rb
+++ b/certs/test/functional/certs_controller_test.rb
@@ -13,7 +13,7 @@ class CertsControllerTest < ActionController::TestCase
test "should send cert" do
login
cert = stub :cert => "adsf", :key => "key"
- LeapCA::Cert.expects(:pick_from_pool).returns(cert)
+ ClientCertificate.expects(:new).returns(cert)
get :show
assert_response :success
assert_equal cert.key + cert.cert, @response.body