diff options
Diffstat (limited to 'test/soap/swa')
-rw-r--r-- | test/soap/swa/test_file.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/soap/swa/test_file.rb b/test/soap/swa/test_file.rb index 8389d8826c..1ec7aa92a7 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', |