Commit 54a0ab150b221710011e8a7b6386fd398dc82123
1 parent
8c0ec6f6
Exists in
master
and in
22 other branches
Adding a simple test for RssFeed#to_html
(ActionItem1650)
Showing
1 changed file
with
4 additions
and
0 deletions
Show diff stats
test/unit/rss_feed_test.rb
@@ -236,4 +236,8 @@ class RssFeedTest < Test::Unit::TestCase | @@ -236,4 +236,8 @@ class RssFeedTest < Test::Unit::TestCase | ||
236 | assert_match /<item><title>article 3<\/title>/, rss | 236 | assert_match /<item><title>article 3<\/title>/, rss |
237 | end | 237 | end |
238 | 238 | ||
239 | + should 'provide a non-nil to_html' do | ||
240 | + assert_not_nil RssFeed.new.to_html | ||
241 | + end | ||
242 | + | ||
239 | end | 243 | end |