2015-11-18 14:09:34 +03:00
|
|
|
Feature: sharing
|
2015-11-20 14:56:05 +03:00
|
|
|
Background:
|
|
|
|
Given using api version "1"
|
|
|
|
|
|
|
|
Scenario: moving a file old way
|
|
|
|
Given using dav path "remote.php/webdav"
|
|
|
|
And As an "admin"
|
|
|
|
And user "user0" exists
|
|
|
|
When User "user0" moves file "/textfile0.txt" to "/FOLDER/textfile0.txt"
|
|
|
|
Then the HTTP status code should be "201"
|
2015-11-20 14:26:52 +03:00
|
|
|
|
2015-11-30 17:07:02 +03:00
|
|
|
Scenario: download a file with range
|
|
|
|
Given using dav path "remote.php/webdav"
|
|
|
|
And As an "admin"
|
|
|
|
When Downloading file "/welcome.txt" with range "bytes=51-77"
|
|
|
|
Then Downloaded content should be "example file for developers"
|
|
|
|
|
2015-11-18 14:09:34 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|