Permalink
Browse files

Added test to illustrate bad binary blobs.

  • Loading branch information...
1 parent c4469e6 commit 96359d557d8a9902e1338fda74b993d3ce3ee59a Chris Feist committed with feist Jan 31, 2012
Showing with 2 additions and 1 deletion.
  1. +1 −0 activerecord/test/assets/test.txt
  2. +1 −1 activerecord/test/cases/binary_test.rb
@@ -0,0 +1 @@
+%00
@@ -8,7 +8,7 @@
require 'models/binary'
class BinaryTest < ActiveRecord::TestCase
- FIXTURES = %w(flowers.jpg example.log)
+ FIXTURES = %w(flowers.jpg example.log test.txt)
def test_mixed_encoding
str = "\x80"

0 comments on commit 96359d5

Please sign in to comment.