From 38e1f12d79ec3313e42643e52f2d10cb5fbd5d5d Mon Sep 17 00:00:00 2001 From: Sam Stephenson Date: Thu, 8 Feb 2018 11:01:46 -0600 Subject: Add dummy app --- test/unit/content_test.rb | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 test/unit/content_test.rb (limited to 'test/unit') diff --git a/test/unit/content_test.rb b/test/unit/content_test.rb new file mode 100644 index 0000000000..48ba731597 --- /dev/null +++ b/test/unit/content_test.rb @@ -0,0 +1,10 @@ +require_relative '../test_helper' + +module ActiveText + class ContentTest < ActiveSupport::TestCase + test "plain text conversion" do + content = ActiveText::Content.new("

Hello world

") + assert "Hello world", content.to_plain_text + end + end +end -- cgit v1.2.3