Sha256: 47ff515fa3892bed8f67947f185518e5fe76646fd92e079c1fd753528ebe2a26
Contents?: true
Size: 713 Bytes
Versions: 78
Compression:
Stored size: 713 Bytes
Contents
# Tasks namespace :foreman_remote_execution do namespace :example do desc 'Example Task' task task: :environment do # Task goes here end end end # Tests namespace :test do desc 'Test ForemanRemoteExecution' Rake::TestTask.new(:foreman_remote_execution => ['db:test:prepare']) do |t| test_dir = File.join(File.dirname(__FILE__), '../..', 'test') t.libs << ['test', test_dir] t.pattern = "#{test_dir}/**/*_test.rb" t.verbose = true t.warning = false end end Rake::Task[:test].enhance ['test:foreman_remote_execution'] load 'tasks/jenkins.rake' if Rake::Task.task_defined?(:'jenkins:unit') Rake::Task['jenkins:unit'].enhance ['test:foreman_remote_execution'] end
Version data entries
78 entries across 78 versions & 1 rubygems