Class: Views::AlphaSimprini::Test::Root

Inherits:
AlphaSimprini::Page
  • Object
show all
Defined in:
app/views/alpha_simprini/test/root.rb

Instance Method Summary collapse

Instance Method Details

#assetsObject



2
3
4
5
# File 'app/views/alpha_simprini/test/root.rb', line 2

def assets
  javascript_include_tag "test"
  stylesheet_link_tag "qunit"
end

#body_contentObject



7
8
9
10
11
12
# File 'app/views/alpha_simprini/test/root.rb', line 7

def body_content
  h1 "QUnit", id:'qunit-header'
  h1 id:'qunit-banner'
  h2 id:'qunit-userAgent'
  ol id:'qunit-tests'
end