From 44a2dd95181139c97f65187fc5231a68658e8341 Mon Sep 17 00:00:00 2001 From: Adrien Waksberg Date: Sun, 15 Oct 2017 08:43:31 +0200 Subject: [PATCH] fix: move rspec tests on tests folder --- Rakefile | 7 +------ {spec => tests/spec}/bind.rb | 0 2 files changed, 1 insertion(+), 6 deletions(-) rename {spec => tests/spec}/bind.rb (100%) diff --git a/Rakefile b/Rakefile index 778b07a..071afcc 100644 --- a/Rakefile +++ b/Rakefile @@ -22,10 +22,5 @@ task verify: %w[ 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 | grep changed=0") - exec_cmd("cd spec && rspec #{ansible_role}.rb") + exec_cmd("cd tests/spec && rspec #{ansible_role}.rb") end - - #task :purge do - # exec_cmd('ansible-playbook -i tests/inventory tests/purge.yml') - # exec_cmd('cd spec && rspec purge.rb') - #end diff --git a/spec/bind.rb b/tests/spec/bind.rb similarity index 100% rename from spec/bind.rb rename to tests/spec/bind.rb