From ce1d6ddacca09062ed90a40de559454c7ce912b5 Mon Sep 17 00:00:00 2001 From: jessib Date: Mon, 9 Dec 2013 11:50:47 -0800 Subject: Update tests to reflect using plaintext key. --- users/test/functional/keys_controller_test.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'users') diff --git a/users/test/functional/keys_controller_test.rb b/users/test/functional/keys_controller_test.rb index b69cbc0..863be93 100644 --- a/users/test/functional/keys_controller_test.rb +++ b/users/test/functional/keys_controller_test.rb @@ -8,7 +8,7 @@ class KeysControllerTest < ActionController::TestCase User.stubs(:find_by_login).with(@user.login).returns(@user) get :show, :login => @user.login assert_response :success - assert_equal "text/html", response.content_type + assert_equal "text/text", response.content_type assert_equal public_key, response.body end @@ -18,7 +18,7 @@ class KeysControllerTest < ActionController::TestCase User.stubs(:find_by_login).with(@user.login).returns(@user) get :show, :login => @user.login assert_response :success - assert_equal "text/html", response.content_type + assert_equal "text/text", response.content_type assert_equal '', response.body.strip end -- cgit v1.2.3