forked from puppetlabs/puppetlabs-powershell
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRakefile
28 lines (24 loc) · 729 Bytes
/
Rakefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
require 'puppetlabs_spec_helper/rake_tasks'
require 'rspec/core/rake_task'
task :default => :unit
desc "Unit tests"
RSpec::Core::RakeTask.new(:unit) do |t,args|
t.pattern = 'spec/unit'
t.rspec_opts = '--color'
t.verbose = true
end
desc "Beaker namespace"
RSpec::Core::RakeTask.new('beaker:rspec:test:pe',:host) do |t,args|
args.with_defaults({:host => 'default'})
ENV['BEAKER_set'] = args[:host]
t.pattern = 'spec/acceptance'
t.rspec_opts = '--color'
t.verbose = true
end
RSpec::Core::RakeTask.new('beaker:rspec:test:git',:host) do |t,args|
args.with_defaults({:host => 'default'})
ENV['BEAKER_set'] = args[:host]
t.pattern = 'spec/acceptance'
t.rspec_opts = '--color'
t.verbose = true
end