File: spec_helper.rb

package info (click to toggle)
ruby-docker-api 1.10.10-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 964 kB
  • ctags: 114
  • sloc: ruby: 1,864; makefile: 5
file content (16 lines) | stat: -rw-r--r-- 503 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))

require 'rspec'
require 'simplecov'
require 'docker'

# vcr tests are excluded because is not available in Debian yet: #695195.
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].reject { |f| f =~ /vcr/ }.each { |f| require f }

RSpec.configure do |config|
  config.mock_with :rspec
  config.treat_symbols_as_metadata_keys_with_true_values = true
  config.color_enabled = true
  config.formatter = :documentation
  config.tty = true
end