Sha256: 61403979f5f35d36ac714903aa99b13fb397cec50528e2adcfc5b1da2077d664

Contents?: true

Size: 398 Bytes

Versions: 11

Compression:

Stored size: 398 Bytes

Contents

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

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

11 entries across 11 versions & 1 rubygems

Version Path
rasti-web-2.1.1 spec/minitest_helper.rb
rasti-web-2.1.0 spec/minitest_helper.rb
rasti-web-2.0.1 spec/minitest_helper.rb
rasti-web-2.0.0 spec/minitest_helper.rb
rasti-web-1.2.1 spec/minitest_helper.rb
rasti-web-1.2.0 spec/minitest_helper.rb
rasti-web-1.1.0 spec/minitest_helper.rb
rasti-web-1.0.0 spec/minitest_helper.rb
rasti-web-0.2.1 spec/minitest_helper.rb
rasti-web-0.2.0 spec/minitest_helper.rb
rasti-web-0.1.1 spec/minitest_helper.rb