Sha256: 52a13401ad68bcf32d11ccf32e29a7e3bedfc10c9477da7a3f5e81a684173bfe

Contents?: true

Size: 895 Bytes

Versions: 3

Compression:

Stored size: 895 Bytes

Contents

<!DOCTYPE html>
<html>
<head>
  <title>Netzke Core Test App</title>
  <%= csrf_meta_tag %>
  <%= load_netzke minified: true %>

  <% if params[:spec] %>
    <%= javascript_include_tag "/assets/expect/expect.js" %>
    <%= javascript_include_tag "/assets/mocha/mocha.js" %>
    <%= stylesheet_link_tag "/assets/mocha/mocha.css" %>
    <script>
      mocha.setup('bdd');
      mocha.setup({ignoreLeaks: true, slow: 500});
      Ext.onReady(function(){
        Netzke.mochaRunner = mocha.run(function(){Netzke.mochaDone = true;});
      });
    </script>
    <%= javascript_include_tag "/specs/support__action_helper" %>
    <%= javascript_include_tag "/specs/support__query_helper" %>
    <%= javascript_include_tag "/specs/support__expectation_helper" %>
    <%= javascript_include_tag "/specs/#{params[:spec]}" %>
  <% end %>

</head>
<body>

<%= yield %>
<div id="mocha"></div>
</body>
</html>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
netzke-core-0.8.4 test/core_test_app/app/views/layouts/application.html.erb
netzke-core-0.8.3 test/core_test_app/app/views/layouts/application.html.erb
netzke-core-0.8.2 test/core_test_app/app/views/layouts/application.html.erb