File: spec_helper.rb

package info (click to toggle)
ruby-beaker-hostgenerator 1.7.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,556 kB
  • sloc: ruby: 3,059; makefile: 3
file content (17 lines) | stat: -rw-r--r-- 571 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# The Rakefile includes this, but having them in spec_helper makes it possible
# to run specific test cases via commandline when developing.
local_libdir=File.join(__FILE__, '../../lib')
local_testdir=File.join(__FILE__, '../../test')
$LOAD_PATH.unshift(local_libdir) unless $LOAD_PATH.include?(local_libdir)
$LOAD_PATH.unshift(local_testdir) unless $LOAD_PATH.include?(local_testdir)

require 'simplecov'
require 'beaker-hostgenerator'
require 'helpers'

require 'rspec/its'

RSpec.configure do |config|
  config.include TestFileHelpers
  config.include HostHelpers
end