Commit f77d834b0f50d03b1c5e07b6c80ff25722426e02
1 parent
37ca56cd
Exists in
master
and in
28 other branches
ActionItem23: hardening the test
git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@1118 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing
1 changed file
with
7 additions
and
0 deletions
Show diff stats
test/unit/rss_feed_test.rb
... | ... | @@ -9,6 +9,13 @@ class RssFeedTest < Test::Unit::TestCase |
9 | 9 | should 'store settings in a hash serialized into body field' do |
10 | 10 | feed = RssFeed.new |
11 | 11 | assert_kind_of Hash, feed.body |
12 | + | |
13 | + feed.body = { | |
14 | + :include => :abstract, | |
15 | + :search => :parent, | |
16 | + } | |
17 | + feed.valid? | |
18 | + assert !feed.errors.invalid?(:body) | |
12 | 19 | end |
13 | 20 | |
14 | 21 | should 'list recent articles of profile when top-level' do | ... | ... |