summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorantima-gupta <agupta@msystechnologies.com>2020-11-23 22:43:37 -0800
committerantima-gupta <agupta@msystechnologies.com>2020-11-23 22:43:37 -0800
commit44b8e801608911286cb806a08f4208949ee2fedf (patch)
treeefb04fd033b6f42d2a46abdfe13e2d67fcc18aff
parent0992d97d152d41acb7bba75b08bf8b6e3653ff48 (diff)
downloadchef-fix_aix_test_build.tar.gz
Fixed metadata is not available issue.fix_aix_test_build
Signed-off-by: antima-gupta <agupta@msystechnologies.com>
-rw-r--r--spec/functional/resource/mount_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/functional/resource/mount_spec.rb b/spec/functional/resource/mount_spec.rb
index 9b06d5a083..f11f97d6c7 100644
--- a/spec/functional/resource/mount_spec.rb
+++ b/spec/functional/resource/mount_spec.rb
@@ -129,7 +129,7 @@ describe Chef::Resource::Mount, :requires_root, external: include_flag do
end
# Actual tests begin here.
- before(:all) do |test|
+ before do |test|
@device, @fstype = setup_device_for_mount
@device = "/" if test.metadata[:skip_before]