Skip to content

Commit

Permalink
Added test about adding a file to local storage
Browse files Browse the repository at this point in the history
  • Loading branch information
IljaN authored and SergioBertolinSG committed Mar 3, 2017
1 parent 7734f0b commit eb22802
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions build/integration/features/checksums.feature
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,10 @@ Feature: checksums
And user "user0" uploads chunk file "3" of "3" with "CCCCC" to "/myChecksumFile.txt" with checksum "MD5:45a72715acdd5019c5be30bdbb75233e"
When user "user0" downloads the file "/myChecksumFile.txt"
Then The header checksum should match "SHA1:acfa6b1565f9710d4d497c6035d5c069bd35a8e8"

Scenario: Downloading a file from local storage has correct checksum
Given user "user0" exists
And file "prueba_cksum.txt" with text "Test file for checksums" is created in local storage
When user "user0" downloads the file "/local_storage/prueba_cksum.txt"
When user "user0" downloads the file "/local_storage/prueba_cksum.txt"
Then The header checksum should match "SHA1:b14628561796cb8bd049f036bff7948d39a0180a"

0 comments on commit eb22802

Please sign in to comment.