test/test_http_upload.rb in progstr-filer-0.8.8 vs test/test_http_upload.rb in progstr-filer-0.8.9
- old
+ new
@@ -33,10 +33,10 @@
uploader = DemoUploader.new
begin
response = uploader.upload_attachment attachment
assert_fail "Should throw an ApiError"
rescue ApiError => e
- assert_match "Session expired or authorization failed", e.message,
+ assert_match "Auth token not valid", e.message,
end
ensure
Progstr::Filer.secret_key = "DEMO"
end
end