Skip to content

Commit

Permalink
Safer assertion.
Browse files Browse the repository at this point in the history
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4598 e93f8b46-1217-0410-a6f0-8f06a7374b81
  • Loading branch information
jplang committed Dec 31, 2010
1 parent 3eebd82 commit 92d3423
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unit/attachment_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def test_create
assert_equal 59, a.filesize
assert_equal 'text/plain', a.content_type
assert_equal 0, a.downloads
assert_equal Digest::MD5.hexdigest(uploaded_test_file("testfile.txt", "text/plain").read), a.digest
assert_equal '1478adae0d4eb06d35897518540e25d6', a.digest
assert File.exist?(a.diskfile)
end

Expand Down

0 comments on commit 92d3423

Please sign in to comment.