diff options
author | Serdar Sutay <serdar@opscode.com> | 2014-10-20 17:03:46 -0700 |
---|---|---|
committer | Serdar Sutay <serdar@opscode.com> | 2014-10-20 17:03:46 -0700 |
commit | f11d1c3309788adb53ddbee8ffa80e460ab368a2 (patch) | |
tree | 969607eb569e06e816cd522b3132e0dcb6812422 | |
parent | bad674c731f2243c8f9d9250c19e0afaa956df1f (diff) | |
download | chef-f11d1c3309788adb53ddbee8ffa80e460ab368a2.tar.gz |
Missed one spec in rpm_spec.rb.sersut/chef-rc-fixes-2
-rw-r--r-- | spec/functional/resource/rpm_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/functional/resource/rpm_spec.rb b/spec/functional/resource/rpm_spec.rb index 2e452d7e2e..b37ee781f1 100644 --- a/spec/functional/resource/rpm_spec.rb +++ b/spec/functional/resource/rpm_spec.rb @@ -102,11 +102,11 @@ describe Chef::Resource::RpmPackage, :requires_root, :external => exclude_test d if ohai[:platform] == 'aix' @pkg_version = "2-0" @pkg_path = "/tmp/dummy-2-0.aix6.1.noarch.rpm" - FileUtils.cp 'spec/functional/assets/dummy-2-0.aix6.1.noarch.rpm' , @pkg_path + FileUtils.cp(File.join(CHEF_SPEC_ASSETS, 'dummy-2-0.aix6.1.noarch.rpm') , @pkg_path) else @pkg_version = "2.0-1" @pkg_path = "/tmp/mytest-2.0-1.noarch.rpm" - FileUtils.cp 'spec/functional/assets/mytest-2.0-1.noarch.rpm' , @pkg_path + FileUtils.cp(File.join(CHEF_SPEC_ASSETS, 'mytest-2.0-1.noarch.rpm') , @pkg_path) end end |