Sha256: 678d6dd66926ca6caae5a29cb158e9b161fab5be6a0735032774640eeb6e4d64
Contents?: true
Size: 1.03 KB
Versions: 1
Compression:
Stored size: 1.03 KB
Contents
<!doctype html> <html> <head> <meta http-equiv="content-type" content="text/html;charset=utf-8" /> <title>Konacha Tests</title> <%= stylesheet_link_tag "mocha", :debug => false %> <%= stylesheet_link_tag "konacha", :debug => false %> <%= javascript_include_tag "jquery", "mocha", "chai", "konacha/#{Konacha.mode}", :debug => false %> <script> mocha.setup(<%= raw Konacha.interface.to_json %>); var expect = chai.expect, should = chai.should(), assert = chai.assert; window.onload = function () { mocha.run(Konacha.Reporter); }; <% if Konacha.interface == :bdd %> beforeEach(function() { document.getElementById('test').innerHTML = ""; }); <% elsif Konacha.interface == :tdd %> setup(function() { document.getElementById('test').innerHTML = ""; }); <% end %> </script> <%= spec_include_tag *@specs %> </head> <body> <div id="mocha"></div> <div id="test"></div> </body> </html>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
konacha-0.10.0 | app/views/konacha/specs/specs.html.erb |