app/models/revision_test.rb in Pimki-1.2.092 vs app/models/revision_test.rb in Pimki-1.3.092
- old
+ new
@@ -139,20 +139,20 @@
"My Headline\n===========\n\n that SmartEngineGUI",
Time.local(2004, 4, 4, 16, 50),
"DavidHeinemeierHansson"
)
- @revision_with_code_block = Revision.new(
+ @revision_with_code_block = Revision.new(
@mock_page,
1,
"This is a code block:\n def a_method(arg)\n return ThatWay\n\nNice!",
Time.local(2004, 4, 4, 16, 50),
"MarkReid"
)
assert_equal "<h1>My Headline</h1>\n\n<p>that <span class=\"newWikiWord\">Smart Engine GUI<a href=\"../show/SmartEngineGUI\">?</a></span></p>", @revision.display_content
- assert_equal "<p>This is a code block:</p>\n\n<pre><code>def a_method(arg)\nreturn ThatWay\n</code></pre>\n\n<p>Nice!</p>", @revision_with_code_block.display_content
+ assert_equal "<p>This is a code block:</p>\n\n<pre><code>def a_method(arg)\nreturn ThatWay\n</code></pre>\n\n<p>Nice!</p>", @revision_with_code_block.display_content
end
def test_rdoc
@mock_web.markup = :rdoc
\ No newline at end of file