summaryrefslogtreecommitdiff
path: root/test/functional/v1/services_controller_test.rb
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2014-11-11 13:06:42 -0800
committerelijah <elijah@riseup.net>2014-11-11 13:06:42 -0800
commitc3305f1c29a1a37913bfb05cd11d547e9d7f16a0 (patch)
treecbe7844b1cf7c3b0370080af27f76702564e1c18 /test/functional/v1/services_controller_test.rb
parentc8b9e7ac72d27997603dbede8001fca7d3f40e1a (diff)
parentcbf73046f42aeafb760e378d872f8c06f8bdfe86 (diff)
Merge branch 'test/feature-for-service-endpoint' of https://github.com/azul/leap_web into develop
Diffstat (limited to 'test/functional/v1/services_controller_test.rb')
-rw-r--r--test/functional/v1/services_controller_test.rb5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/functional/v1/services_controller_test.rb b/test/functional/v1/services_controller_test.rb
index cde7d9f..039eb27 100644
--- a/test/functional/v1/services_controller_test.rb
+++ b/test/functional/v1/services_controller_test.rb
@@ -4,9 +4,8 @@ class V1::ServicesControllerTest < ActionController::TestCase
test "anonymous user gets login required service info" do
get :show, format: :json
- assert_json_response name: 'anonymous',
- eip_rate_limit: false,
- description: 'please login to access our services'
+ assert_json_response error: 'not_authorized_login',
+ message: 'Please log in to perform that action.'
end
test "anonymous user gets vpn service info" do