2015-04-09 20:01:23 +00:00
|
|
|
# encoding: utf-8
|
|
|
|
# copyright: 2015, Dominik Richter
|
|
|
|
# license: All rights reserved
|
|
|
|
|
2015-06-22 06:56:13 +00:00
|
|
|
Encoding.default_external = Encoding::UTF_8
|
|
|
|
Encoding.default_internal = Encoding::UTF_8
|
|
|
|
|
2015-06-07 19:41:54 +00:00
|
|
|
libdir = File.dirname(__FILE__)
|
|
|
|
$LOAD_PATH.unshift(libdir) unless $LOAD_PATH.include?(libdir)
|
|
|
|
|
2015-04-09 20:01:23 +00:00
|
|
|
require 'utils/spec_helper'
|
|
|
|
|
2015-06-21 14:32:42 +00:00
|
|
|
require 'vulcano/version'
|
|
|
|
require 'vulcano/resource'
|
|
|
|
require 'vulcano/rule'
|
|
|
|
require 'vulcano/rspec_json_formatter'
|
|
|
|
|
2015-07-26 10:30:12 +00:00
|
|
|
require 'resources/resources'
|
2015-06-21 09:06:39 +00:00
|
|
|
require 'matchers/matchers'
|
2015-06-07 19:41:54 +00:00
|
|
|
|
2015-04-09 20:01:23 +00:00
|
|
|
# Dummy module for handling additional attributes
|
|
|
|
# which may be injected by the user. This covers data
|
|
|
|
# like passwords, usernames, or configuration flags.
|
|
|
|
def attributes what, required: false
|
|
|
|
return nil
|
|
|
|
end
|