summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormurphy <murphy@rubychan.de>2010-06-16 22:43:00 +0000
committermurphy <murphy@rubychan.de>2010-06-16 22:43:00 +0000
commitbbb9d658a69fbe6c66827a93969203498a3d1820 (patch)
tree19bd20a9dd8fcfef90f91d962e2c808f3930277d
parent8154b01f32e1b269feec84f0ad29daf5c8aaef95 (diff)
downloadcoderay-bbb9d658a69fbe6c66827a93969203498a3d1820.tar.gz
Updated for_redcloth test to latest Alpha style.
-rw-r--r--test/functional/for_redcloth.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/for_redcloth.rb b/test/functional/for_redcloth.rb
index 1aeae78..0b7229c 100644
--- a/test/functional/for_redcloth.rb
+++ b/test/functional/for_redcloth.rb
@@ -14,11 +14,11 @@ class BasicTest < Test::Unit::TestCase
def test_for_redcloth
require 'coderay/for_redcloth'
- assert_equal "<p><span lang=\"ruby\" class=\"CodeRay\">puts <span style=\"background-color:hsla(0,100%,50%,0.1)\"><span style=\"color:#710\">&quot;</span><span style=\"color:#D20\">Hello, World!</span><span style=\"color:#710\">&quot;</span></span></span></p>",
+ assert_equal "<p><span lang=\"ruby\" class=\"CodeRay\">puts <span style=\"background-color:hsla(0,100%,50%,0.08)\"><span style=\"color:#710\">&quot;</span><span style=\"color:#D20\">Hello, World!</span><span style=\"color:#710\">&quot;</span></span></span></p>",
RedCloth.new('@[ruby]puts "Hello, World!"@').to_html
assert_equal <<-BLOCKCODE.chomp,
<div lang="ruby" class="CodeRay">
- <div class="code"><pre>puts <span style="background-color:hsla(0,100%,50%,0.1)"><span style="color:#710">&quot;</span><span style="color:#D20">Hello, World!</span><span style="color:#710">&quot;</span></span></pre></div>
+ <div class="code"><pre>puts <span style="background-color:hsla(0,100%,50%,0.08)"><span style="color:#710">&quot;</span><span style="color:#D20">Hello, World!</span><span style="color:#710">&quot;</span></span></pre></div>
</div>
BLOCKCODE
RedCloth.new('bc[ruby]. puts "Hello, World!"').to_html