vagrant-lxc-ng/spec/acceptance_helper.rb

22 lines
500 B
Ruby
Raw Normal View History

2013-04-20 20:02:25 +00:00
require 'spec_helper'
unless ENV['USER'] == 'vagrant'
puts 'Acceptance specs are supposed to run from one of the vagrant dev machines'
exit 1
end
2013-04-20 20:38:01 +00:00
if defined? SimpleCov
SimpleCov.command_name 'acceptance'
end
2013-04-20 20:02:25 +00:00
require 'vagrant'
require 'vagrant-lxc'
Dir[File.dirname(__FILE__) + "/acceptance/support/**/*.rb"].each { |f| require f }
2013-04-20 20:02:25 +00:00
# RSpec.configure do |config|
# config.include AcceptanceExampleGroup, :type => :unit, :example_group => {
# :file_path => /\bspec\/unit\//
# }
# end