From 35b59fab2dba363909756aa5f4ae2d1abfd2d5c8 Mon Sep 17 00:00:00 2001 From: Graham Davison Date: Thu, 18 Jun 2020 22:40:22 -0700 Subject: [PATCH] Adds test for deletion of temporary installation and correct location of final installation Signed-off-by: Graham Davison --- .../chef_automatev2/test_chef_automatev2_spec.rb | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/test/integration/chef_automatev2/test_chef_automatev2_spec.rb b/test/integration/chef_automatev2/test_chef_automatev2_spec.rb index 5c939fd..eece52b 100644 --- a/test/integration/chef_automatev2/test_chef_automatev2_spec.rb +++ b/test/integration/chef_automatev2/test_chef_automatev2_spec.rb @@ -2,6 +2,14 @@ # its('exit_status') { should eq 0 } # end +describe file('/usr/local/bin/chef-automate') do + it { should_not exist } +end + +describe file('/usr/bin/chef-automate') do + it { should exist } +end + describe command('chef-automate version') do its('exit_status') { should eq 0 } end