agenda-libre-ruby/test/helpers/events_helper_test.rb

14 lines
307 B
Ruby
Raw Normal View History

2013-12-28 23:45:13 +01:00
require 'test_helper'
2017-06-10 14:28:10 +02:00
# Test some event helper methods
2013-12-28 23:45:13 +01:00
class EventsHelperTest < ActionView::TestCase
2017-06-10 14:28:10 +02:00
test 'Markdown with empty content' do
assert_equal '', to_markdown('')
assert_equal '', to_markdown(' ')
assert_equal "'", to_markdown("\'")
assert_equal '', to_markdown('
')
end
2013-12-28 23:45:13 +01:00
end