File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 329
329
end
330
330
331
331
it "should leave code blocks untouched" do
332
- markdown ( " \n some code from $ #{ snippet . id } \n here too \n " ) . should == "<div class= \" highlight \" ><pre><span class= \" n \" >some</span> <span class= \" n \" >code</span> <span class= \" n \" >from</span> $ #{ snippet . id } \n <span class= \" n \" >here</span> <span class= \" n \" >too</span> \n </pre></div>"
332
+ helper . stub ( :user_color_scheme_class ) . and_return ( :white )
333
333
334
- markdown ( "\n ```\n some code from $#{ snippet . id } \n here too\n ```\n " ) . should == "<div class=\" highlight\" ><pre><span class=\" n\" >some</span> <span class=\" n\" >code</span> <span class=\" n\" >from</span> $#{ snippet . id } \n <span class=\" n\" >here</span> <span class=\" n\" >too</span>\n </pre></div>"
334
+ helper . markdown ( "\n some code from $#{ snippet . id } \n here too\n " ) . should == "<div class=\" white\" ><div class=\" highlight\" ><pre><span class=\" n\" >some</span> <span class=\" n\" >code</span> <span class=\" n\" >from</span> $#{ snippet . id } \n <span class=\" n\" >here</span> <span class=\" n\" >too</span>\n </pre></div></div>"
335
+
336
+ helper . markdown ( "\n ```\n some code from $#{ snippet . id } \n here too\n ```\n " ) . should == "<div class=\" white\" ><div class=\" highlight\" ><pre><span class=\" n\" >some</span> <span class=\" n\" >code</span> <span class=\" n\" >from</span> $#{ snippet . id } \n <span class=\" n\" >here</span> <span class=\" n\" >too</span>\n </pre></div></div>"
335
337
end
336
338
337
339
it "should leave inline code untouched" do
You can’t perform that action at this time.
0 commit comments