summaryrefslogtreecommitdiff
path: root/users/test
diff options
context:
space:
mode:
authorjessib <jessib@riseup.net>2013-12-09 11:50:47 -0800
committerjessib <jessib@riseup.net>2013-12-09 11:50:47 -0800
commitce1d6ddacca09062ed90a40de559454c7ce912b5 (patch)
treed7e50741728a52240f035544ac9f7c39469c5037 /users/test
parent0f2e1316894cdffac47448b6ddbf2cfaf5f93a55 (diff)
Update tests to reflect using plaintext key.
Diffstat (limited to 'users/test')
-rw-r--r--users/test/functional/keys_controller_test.rb4
1 files changed, 2 insertions, 2 deletions
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