Sha256: 1306d45441b6e366524e085cd76212d9d17a8922674263b67d8177b70d04be8b

Contents?: true

Size: 473 Bytes

Versions: 2

Compression:

Stored size: 473 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

Broadcaster.configure do |config|
  config.logger = Rasti::Web.logger
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rasti-web-0.2.3 spec/minitest_helper.rb
rasti-web-0.2.2 spec/minitest_helper.rb