summaryrefslogtreecommitdiff
path: root/test/soap/swa/test_file.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/soap/swa/test_file.rb')
-rw-r--r--test/soap/swa/test_file.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/soap/swa/test_file.rb b/test/soap/swa/test_file.rb
index 8389d88..1ec7aa9 100644
--- a/test/soap/swa/test_file.rb
+++ b/test/soap/swa/test_file.rb
@@ -47,11 +47,14 @@ class TestFile < Test::Unit::TestCase
@client.reset_stream
end
- def test_file
+ def test_get_file
assert_equal(
File.open(THIS_FILE) { |f| f.read },
@client.get_file['file'].content
)
+ end
+
+ def test_put_file
assert_equal(
"File 'foo' was received ok.",
@client.put_file('foo',