Sha256: d99d98c76fe574253c04b5db34594ef87df08c3dacb1c54c8071dc31a602626a

Contents?: true

Size: 515 Bytes

Versions: 1

Compression:

Stored size: 515 Bytes

Contents

require 'rubygems'
require 'bundler/setup'

ENV["RAILS_ENV"] ||= 'test'
require File.join("katello_app/config/environment.rb")

require 'test/unit'
require 'katello-foreman-engine'
require 'rails/test_help'
require 'mocha/setup'

Rails.backtrace_cleaner.remove_silencers!

# returns the execution plan for given action, given
# input from parent action and *args for plan method
def prepare_plan(action_class, input, *args)
  action = action_class.new(input)
  action.plan(*args)
  return action.execution_plan
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
katello-foreman-engine-0.0.1 test/test_helper.rb