summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorchrismair <chrismair@531de8e6-9941-0410-b38b-9a92acbe0330>2010-03-26 02:10:54 +0000
committerchrismair <chrismair@531de8e6-9941-0410-b38b-9a92acbe0330>2010-03-26 02:10:54 +0000
commit51f3edcb923f87e836613fa9f589fede3c018df3 (patch)
tree7019837f1f6be62f6c2e4ba6e6b2df55a7b6ccb2
parent0b0a54fe829a473e1773eac35609aa3eb01fbea9 (diff)
downloadmockftpserver-51f3edcb923f87e836613fa9f589fede3c018df3.tar.gz
Verify we can store files using relative path
git-svn-id: svn://svn.code.sf.net/p/mockftpserver/code@251 531de8e6-9941-0410-b38b-9a92acbe0330
-rw-r--r--MockFtpServer/src/test/groovy/org/mockftpserver/fake/FakeFtpServerIntegrationTest.groovy2
1 files changed, 1 insertions, 1 deletions
diff --git a/MockFtpServer/src/test/groovy/org/mockftpserver/fake/FakeFtpServerIntegrationTest.groovy b/MockFtpServer/src/test/groovy/org/mockftpserver/fake/FakeFtpServerIntegrationTest.groovy
index 635c396..91b12f7 100644
--- a/MockFtpServer/src/test/groovy/org/mockftpserver/fake/FakeFtpServerIntegrationTest.groovy
+++ b/MockFtpServer/src/test/groovy/org/mockftpserver/fake/FakeFtpServerIntegrationTest.groovy
@@ -370,7 +370,7 @@ class FakeFtpServerIntegrationTest extends AbstractGroovyTestCase {
LOG.info("Put File for local path [$FILE1]")
def inputStream = new ByteArrayInputStream(ASCII_DATA.getBytes())
- assert ftpClient.storeFile(FILE1, inputStream)
+ assert ftpClient.storeFile(FILENAME1, inputStream) // relative to homeDirectory
def contents = fileSystem.getEntry(FILE1).createInputStream().text
LOG.info("File contents=[" + contents + "]")
assert contents == ASCII_DATA