fix: move rspec tests on tests folder
This commit is contained in:
parent
f4e1242c82
commit
44a2dd9518
2 changed files with 1 additions and 6 deletions
7
Rakefile
7
Rakefile
|
@ -22,10 +22,5 @@ task verify: %w[
|
||||||
task :install do
|
task :install do
|
||||||
exec_cmd("ansible-playbook -i tests/inventory tests/#{ansible_role}.yml")
|
exec_cmd("ansible-playbook -i tests/inventory tests/#{ansible_role}.yml")
|
||||||
exec_cmd("ansible-playbook -i tests/inventory tests/#{ansible_role}.yml | grep changed=0")
|
exec_cmd("ansible-playbook -i tests/inventory tests/#{ansible_role}.yml | grep changed=0")
|
||||||
exec_cmd("cd spec && rspec #{ansible_role}.rb")
|
exec_cmd("cd tests/spec && rspec #{ansible_role}.rb")
|
||||||
end
|
end
|
||||||
|
|
||||||
#task :purge do
|
|
||||||
# exec_cmd('ansible-playbook -i tests/inventory tests/purge.yml')
|
|
||||||
# exec_cmd('cd spec && rspec purge.rb')
|
|
||||||
#end
|
|
||||||
|
|
Loading…
Reference in a new issue