summaryrefslogtreecommitdiff
path: root/test/functional
diff options
context:
space:
mode:
authorAzul <azul@leap.se>2014-04-17 20:03:47 +0200
committerAzul <azul@leap.se>2014-04-17 20:03:47 +0200
commitfca9752315a0b46b52facf0e54c35214198fe8ae (patch)
tree33ed77fb8bbb2006bde2e419c0d6f2dd0da86d42 /test/functional
parent7a9ece43bd61246b450471ed6bb1089570321e38 (diff)
adjust test to service list in config
Diffstat (limited to 'test/functional')
-rw-r--r--test/functional/v1/services_controller_test.rb6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/functional/v1/services_controller_test.rb b/test/functional/v1/services_controller_test.rb
index 35a9de6..bcb7abc 100644
--- a/test/functional/v1/services_controller_test.rb
+++ b/test/functional/v1/services_controller_test.rb
@@ -6,7 +6,8 @@ class V1::ServicesControllerTest < ActionController::TestCase
get :show, format: :json
assert_json_response name: 'anonymous',
cert_prefix: 'LIMITED',
- description: 'anonymous account, with rate limited VPN'
+ description: 'anonymous account, with rate limited VPN',
+ services: ["eip"]
end
test "user can see their service info" do
@@ -16,7 +17,8 @@ class V1::ServicesControllerTest < ActionController::TestCase
cert_prefix: 'LIMITED',
description: 'free account, with rate limited VPN',
cost: 0,
- quota: 100
+ quota: 100,
+ services: ["eip", "email"]
end
end