diff options
author | rautenberg <rautenberg@in-silico.ch> | 2012-05-07 19:52:12 +0200 |
---|---|---|
committer | rautenberg <rautenberg@in-silico.ch> | 2012-05-07 19:52:12 +0200 |
commit | 96916da933e1bc53db69b3d3e8b335de4e77c0aa (patch) | |
tree | b25a4ff5246f5cdc755bc5196ff05f4d09470bc1 /test/toxbank-investigation-xls.rb | |
parent | 9d67e1c80b8854f45032c46aa8c21c8e3a236e54 (diff) | |
parent | 81346e1ba9624b57e476688167157e64e07c60fd (diff) |
Merge branch 'release/v0.0.3'v0.0.3
Diffstat (limited to 'test/toxbank-investigation-xls.rb')
-rw-r--r-- | test/toxbank-investigation-xls.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/toxbank-investigation-xls.rb b/test/toxbank-investigation-xls.rb index 492d990..9ce8b2a 100644 --- a/test/toxbank-investigation-xls.rb +++ b/test/toxbank-investigation-xls.rb @@ -56,6 +56,8 @@ class UploadTest < Test::Unit::TestCase response = `curl -Lk -i -X DELETE -H "subjectid:#{@@subjectid}" #{uri}` assert_match /200/, response response = `curl -Lk -i -H "Accept:text/uri-list" -H "subjectid:#{@@subjectid}" #{uri}` + assert_match /401/, response + response = `curl -I -Lk -i -H "Accept:text/uri-list" -H "subjectid:#{@@subjectid}" #{uri}` assert_match /404/, response end |