14 lines
307 B
Ruby
14 lines
307 B
Ruby
require 'test_helper'
|
|
|
|
# Test some event helper methods
|
|
class EventsHelperTest < ActionView::TestCase
|
|
test 'Markdown with empty content' do
|
|
assert_equal '', to_markdown('')
|
|
assert_equal '', to_markdown(' ')
|
|
assert_equal "'", to_markdown("\'")
|
|
assert_equal '', to_markdown('
|
|
|
|
')
|
|
end
|
|
end
|