summaryrefslogtreecommitdiff
path: root/test/functional
diff options
context:
space:
mode:
authorAzul <azul@leap.se>2014-04-18 12:51:18 +0200
committerAzul <azul@leap.se>2014-04-18 13:08:45 +0200
commitbe81b7430e0a2046125be7c3a4b01b8725f4afe6 (patch)
treee14ea6e4d3e9b9c925f5ae99223635973a2710c7 /test/functional
parent966e390d401b84dad98127e647d2ec634f1cbc15 (diff)
adopt service_level config to platform settings
cost -> rate quota -> storage
Diffstat (limited to 'test/functional')
-rw-r--r--test/functional/v1/services_controller_test.rb9
1 files changed, 3 insertions, 6 deletions
diff --git a/test/functional/v1/services_controller_test.rb b/test/functional/v1/services_controller_test.rb
index b81103f..e4058c0 100644
--- a/test/functional/v1/services_controller_test.rb
+++ b/test/functional/v1/services_controller_test.rb
@@ -6,8 +6,7 @@ class V1::ServicesControllerTest < ActionController::TestCase
get :show, format: :json
assert_json_response name: 'anonymous',
eip_rate_limit: false,
- description: 'please login to access our services',
- cost: 0
+ description: 'please login to access our services'
end
test "anonymous user gets vpn service info" do
@@ -15,8 +14,7 @@ class V1::ServicesControllerTest < ActionController::TestCase
get :show, format: :json
assert_json_response name: 'anonymous',
eip_rate_limit: false,
- description: 'anonymous access to the VPN',
- cost: 0
+ description: 'anonymous access to the VPN'
end
end
@@ -26,8 +24,7 @@ class V1::ServicesControllerTest < ActionController::TestCase
assert_json_response name: 'free',
eip_rate_limit: true,
description: 'free account, with rate limited VPN',
- cost: 0,
- quota: 100
+ storage: 100
end
end