Sha256: 61d804bb39a55acc5e2c2135e7e7a69efdd1eca2bd955eab565191d03f05e350

Contents?: true

Size: 299 Bytes

Versions: 1

Compression:

Stored size: 299 Bytes

Contents

# encoding: utf-8
require 'helper'

class TestClassifiedIpsum < Test::Unit::TestCase
  should "redact some text" do
    assert_equal "[REDACTED] [REDACTED]", "Lee Reilly".redact
  end

  should "sanitize some text" do
    assert_equal "███ ██████", "Lee Reilly".sanitize
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
classified-ipsum-0.1.0 test/test_classified-ipsum.rb