test/efax_inbound_test.rb in efax-1.3.3 vs test/efax_inbound_test.rb in efax-1.4.0
- old
+ new
@@ -28,15 +28,15 @@
assert_equal %w[EFAXTEST1A EFAXTEST2A EFAXTEST3A EFAXTEST4A EFAXTEST5A],
response.barcodes
assert_not_nil response.file_contents
assert_not_nil response.file
assert_respond_to response.file, :read
+
assert_equal response.file_contents, response.file.read
# According to docs these will always be "Pacific Time Zone" (sometimes -8, sometimes -7 -- using -8)
assert_equal Time.utc(2005,8,18,20,2,13), response.date_received
assert_equal Time.utc(2005,8,18,20,2,25), response.request_date
end
end
end
-