Skip to content

Commit 5ee8702

Browse files
committed
Fix isolated spec test
1 parent eb8f411 commit 5ee8702

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

cookbooks/aws-parallelcluster-environment/spec/unit/recipes/isolated_install_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626

2727
it 'has the correct content' do
2828
is_expected.to render_file("#{node['cluster']['scripts_dir']}/patch-iso-instance.sh")
29-
.with_content("USERS=(root #{node['cluster']['cluster_admin_user']} #{node['cluster']['cluster_user']})")
29+
.with_content("source /etc/profile.d/aws-cli-default-config.sh")
3030
end
3131
end
3232
end

cookbooks/aws-parallelcluster-environment/test/controls/isolated_spec.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,5 @@
1717
its('owner') { should cmp 'root' }
1818
its('group') { should cmp 'root' }
1919
its('mode') { should cmp '0744' }
20-
its('content') { should match /USERS=\(root #{node['cluster']['cluster_admin_user']} #{node['cluster']['cluster_user']}\)/ }
2120
end
2221
end

0 commit comments

Comments
 (0)