PageRenderTime 12ms CodeModel.GetById 1ms app.highlight 7ms RepoModel.GetById 1ms app.codeStats 0ms

/spec/spec_helper.rb

https://github.com/gioele/rack-i18n_best_langs
Ruby | 18 lines | 8 code | 6 blank | 4 comment | 0 complexity | 9332be18552157b5796f23287a9a32c2 MD5 | raw file
 1# This is free software released into the public domain (CC0 license).
 2#
 3# See the `COPYING` file or <http://creativecommons.org/publicdomain/zero/1.0/>
 4# for more details.
 5
 6
 7LIB_DIR = File.expand_path(File.join(File.dirname(__FILE__), %w[.. lib]))
 8$LOAD_PATH.unshift(LIB_DIR) unless $LOAD_PATH.include?(LIB_DIR)
 9
10require 'rack/i18n_best_langs'
11require 'rack/i18n_routes'
12require 'rack/test'
13
14include Rack::Test::Methods
15
16RSpec.configure do |config|
17end
18