Sha256: 833322c189e3e1c84179312ec63220b687c0d71c0c4263c74b2528491a9bb343

Contents?: true

Size: 377 Bytes

Versions: 1

Compression:

Stored size: 377 Bytes

Contents

require 'bundler/setup'

require 'cuba'
require 'cuba/render'
require 'oktobertest'
require 'oktobertest/contrib'
require 'rack/test'

require 'cuba/errors'

Cuba.plugin Cuba::Render
Cuba.plugin Cuba::Errors

Cuba.define do
  on 'forbidden' do
    forbidden!
  end

  on 'not_found' do
    not_found!
  end

  on 'internal_server_error' do
    internal_server_error!
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cuba-errors-0.0.1 test/helper.rb