Skip to content

Instantly share code, notes, and snippets.

@logicminds
Created November 17, 2014 19:40
Show Gist options
  • Save logicminds/acec13200ec886cefad5 to your computer and use it in GitHub Desktop.
Save logicminds/acec13200ec886cefad5 to your computer and use it in GitHub Desktop.
require 'beaker-rspec/spec_helper'
require 'beaker-rspec/helpers/serverspec'
require 'beaker-rspec'
require 'beaker'
RSpec.configure do |c|
# Project root
proj_root = File.expand_path(File.join(File.dirname(__FILE__), '..'))
# Readable test descriptions
c.formatter = :documentation
# Configure all nodes in nodeset
c.before :suite do
install_puppet()
puppet_module_install({:source => './', :module_name => 'beaker_test'})
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment