Sha256: 1e0f378239bcb26079be2c0ca647a4d850caf6344c1b828055b037f8789b39fb

Contents?: true

Size: 380 Bytes

Versions: 1

Compression:

Stored size: 380 Bytes

Contents

require 'test_helper'

def sample_facts_file
  File.read(File.join(
    ForemanAnsible::Engine.root, 'test', 'fixtures', 'sample_facts.json'))
end

def facts_json
  HashWithIndifferentAccess.new(JSON.parse(sample_facts_file))
end

plugin_factories_path = File.join(File.dirname(__FILE__), 'factories')
FactoryGirl.definition_file_paths << plugin_factories_path
FactoryGirl.reload

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
foreman_ansible-1.0 test/test_plugin_helper.rb