Commit 35568d4d65759265aeb2804752d80af221cc6e5e

Authored by Antonio Terceiro
1 parent 71190c41

fix another test

(ActionItem1665)
Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
test/unit/published_article_test.rb
@@ -127,7 +127,7 @@ class PublishedArticleTest < ActiveSupport::TestCase @@ -127,7 +127,7 @@ class PublishedArticleTest < ActiveSupport::TestCase
127 a = fast_create(Article, :name => 'my article', :profile_id => prof.id) 127 a = fast_create(Article, :name => 'my article', :profile_id => prof.id)
128 a.expects(:body).returns('<p>the first paragraph of the article</p> The second paragraph') 128 a.expects(:body).returns('<p>the first paragraph of the article</p> The second paragraph')
129 p = PublishedArticle.create(:reference_article => a, :profile => prof) 129 p = PublishedArticle.create(:reference_article => a, :profile => prof)
130 - assert_equal '<p>the first paragraph of the article</p>', p.first_paragraph 130 + assert_equal 'the first paragraph of the article', p.first_paragraph
131 end 131 end
132 132
133 end 133 end