/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
- # This is free software released into the public domain (CC0 license).
- #
- # See the `COPYING` file or <http://creativecommons.org/publicdomain/zero/1.0/>
- # for more details.
- LIB_DIR = File.expand_path(File.join(File.dirname(__FILE__), %w[.. lib]))
- $LOAD_PATH.unshift(LIB_DIR) unless $LOAD_PATH.include?(LIB_DIR)
- require 'rack/i18n_best_langs'
- require 'rack/i18n_routes'
- require 'rack/test'
- include Rack::Test::Methods
- RSpec.configure do |config|
- end