Sha256: a2c98314278efc9081fdd255fc2ac4bec07ed239e3a185f60f27414378c24e2a

Contents?: true

Size: 704 Bytes

Versions: 1

Compression:

Stored size: 704 Bytes

Contents

<!doctype html>
<html>
<head>
  <meta http-equiv="content-type" content="text/html;charset=utf-8" />
  <title>Mocha/Chai Spec Runner</title>
  <%= stylesheet_link_tag "mocha" %>
  <%= javascript_include_tag "jquery", "mocha" %>
  <%= javascript_tag "mocha.setup('bdd')" %>
  <%= javascript_include_tag "chai" %>
  <%= javascript_include_tag "chai-globals" unless Rails.configuration.sandbox_assets.options[:skip_chai_globals] %>

<% @stylesheets.each do |css| -%>
  <%= stylesheet_link_tag css %>
<% end -%>

<% @tests.each do |test| -%>
  <%= javascript_include_tag test %>
<% end -%>

  <%= javascript_tag "onload = function(){ mocha.run() }" %>
</head>
<body>
  <div id="mocha"></div>
</body>
</html>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rails_sandbox_mocha_chai-0.0.1 app/views/mocha_chai/runner.html.erb