aboutsummaryrefslogtreecommitdiffstats
path: root/build/integration/capabilities_features
diff options
context:
space:
mode:
authorSergio Bertolin <sbertolin@solidgear.es>2015-12-02 17:29:42 +0000
committerSergio Bertolin <sbertolin@solidgear.es>2015-12-02 17:29:42 +0000
commite01e894b985d3c8ee88da755abf7d5c139787705 (patch)
tree3204a887966ed4b3e8e3c5f3ac57b7beeb29b793 /build/integration/capabilities_features
parentdf5872ec50a68de5d99bd6b5cf17ceb94f2ef833 (diff)
downloadnextcloud-server-e01e894b985d3c8ee88da755abf7d5c139787705.tar.gz
nextcloud-server-e01e894b985d3c8ee88da755abf7d5c139787705.zip
Added capabilities context and tests
Diffstat (limited to 'build/integration/capabilities_features')
-rw-r--r--build/integration/capabilities_features/capabilities.feature34
1 files changed, 34 insertions, 0 deletions
diff --git a/build/integration/capabilities_features/capabilities.feature b/build/integration/capabilities_features/capabilities.feature
new file mode 100644
index 00000000000..4adb884e80a
--- /dev/null
+++ b/build/integration/capabilities_features/capabilities.feature
@@ -0,0 +1,34 @@
+Feature: capabilities
+ Background:
+ Given using api version "1"
+
+ Scenario: getting capabilities with admin user
+ Given As an "admin"
+ When sending "GET" to "/cloud/capabilities"
+ Then the HTTP status code should be "200"
+ And fields of capabilities match with
+ | capability | feature | value_or_subfeature | value |
+ | core | pollinterval | 60 | |
+ | core | webdav-root | remote.php/webdav | |
+ | files_sharing | api_enabled | 1 | |
+ | files_sharing | public | enabled | 1 |
+ | files_sharing | public | password | 1 |
+ | files_sharing | public | expire_date | 1 |
+ | files_sharing | public | send_mail | 1 |
+ | files_sharing | public | upload | 1 |
+ | files_sharing | resharing | 1 | |
+ | files_sharing | federation | outgoing | 1 |
+ | files_sharing | federation | incoming | 1 |
+ | files | bigfilechunking | 1 | |
+ | files | undelete | 1 | |
+ | files | versioning | 1 | |
+
+
+
+
+
+
+
+
+
+