Sha256: e4f30130e0a429f53a06356770d39d5d2241bf4e5f6d3298de01c7c6e400c0c2

Contents?: true

Size: 466 Bytes

Versions: 5

Compression:

Stored size: 466 Bytes

Contents

require 'coverage_helper'
require 'rasti-web'
require 'minitest/autorun'
require 'turn'
require 'rack/test'
require 'pry-nav'

Turn.config do |c|
  c.format = :pretty
  c.natural = true
  c.ansi = true
end

module ContextMethodHelper
  def page_header(text)
    "<h1>#{text}</h1>"
  end
end

Rasti::Web.configure do |config|
  config.views_path = File.expand_path '../views', __FILE__
  config.helpers << ContextMethodHelper
  config.logger.level = Logger::ERROR
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
rasti-web-0.1.0 spec/minitest_helper.rb
rasti-web-0.0.7 spec/minitest_helper.rb
rasti-web-0.0.6 spec/minitest_helper.rb
rasti-web-0.0.5 spec/minitest_helper.rb
rasti-web-0.0.4 spec/minitest_helper.rb