9 lines
722 B
Ruby
9 lines
722 B
Ruby
|
module SnippetHelper
|
||
|
def snippet
|
||
|
"<span class='nx'>describe</span><span class='p'>(</span><span class='s2'>"Jasmine"</span><span class='p'>,</span> <span class='kd'>function</span><span class='p'>()</span> <span class='p'>{</span>
|
||
|
<span class='nx'>it</span><span class='p'>(</span><span class='s2'>"makes testing JavaScript awesome!"</span><span class='p'>,</span> <span class='kd'>function</span><span class='p'>()</span> <span class='p'>{</span>
|
||
|
<span class='nx'>expect</span><span class='p'>(</span><span class='nx'>yourCode</span><span class='p'>).</span><span class='nx'>toBeLotsBetter</span><span class='p'>();</span>
|
||
|
<span class='p'>});</span>
|
||
|
<span class='p'>});</span>"
|
||
|
end
|
||
|
end
|