diff options
author | Azul <azul@leap.se> | 2014-04-17 20:03:47 +0200 |
---|---|---|
committer | Azul <azul@leap.se> | 2014-04-17 20:03:47 +0200 |
commit | fca9752315a0b46b52facf0e54c35214198fe8ae (patch) | |
tree | 33ed77fb8bbb2006bde2e419c0d6f2dd0da86d42 /test/functional | |
parent | 7a9ece43bd61246b450471ed6bb1089570321e38 (diff) |
adjust test to service list in config
Diffstat (limited to 'test/functional')
-rw-r--r-- | test/functional/v1/services_controller_test.rb | 6 |
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 |