Permalink
Browse files

Including test.

  • Loading branch information...
1 parent d699680 commit 2337e0f91c2287384efc4a53a9b2d954bcb397f5 @mankyuhan mankyuhan committed with jyurek Jun 1, 2012
Showing with 5 additions and 0 deletions.
  1. +5 −0 test/io_adapters/stringio_adapter_test.rb
@@ -34,6 +34,11 @@ class StringioFileProxyTest < Test::Unit::TestCase
assert_equal Digest::MD5.hexdigest(@contents), @subject.fingerprint
end
+ should "generate same fingerprint" do
+ assert_equal @subject.fingerprint, @subject.fingerprint
+ end
+
+
should "return the data contained in the StringIO" do
assert_equal "abc123", @subject.read
end

0 comments on commit 2337e0f

Please sign in to comment.