Sha256: 5e41bac476efad0cda1484e2e72996ca24f35050951756858e775928519fc2bd
Contents?: true
Size: 420 Bytes
Versions: 3
Compression:
Stored size: 420 Bytes
Contents
# This calls the main test_helper in Foreman-core require 'test_helper' # Add plugin to FactoryBot's paths FactoryBot.definition_file_paths << File.join(File.dirname(__FILE__), 'factories') FactoryBot.reload def read_report(file, override_proxy = "localhost") json = File.expand_path(File.join('..', 'snapshots', file), __FILE__) json = JSON.parse(File.read(json)) json["proxy"] = override_proxy json.to_s end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
foreman_host_reports-1.0.2 | test/test_plugin_helper.rb |
foreman_host_reports-1.0.1 | test/test_plugin_helper.rb |
foreman_host_reports-1.0.0 | test/test_plugin_helper.rb |