Skip to content

Commit

Permalink
fix acceptance test random failures
Browse files Browse the repository at this point in the history
  • Loading branch information
jhoblitt committed Sep 14, 2024
1 parent a5b4479 commit 868bbe3
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions spec/acceptance/init_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
its(['HostConfig.NetworkMode']) { is_expected.to eq 'host' }

its(['Mounts']) do
is_expected.to match([include('Source' => '/home')])
is_expected.to contain_exactly(a_hash_including('Source' => '/home'))
end
end

Expand Down Expand Up @@ -56,10 +56,7 @@
its(['HostConfig.NetworkMode']) { is_expected.to eq 'host' }

its(['Mounts']) do
is_expected.to match([
include('Source' => '/home'),
include('Source' => '/opt'),
])
is_expected.to contain_exactly(a_hash_including('Source' => '/home'), a_hash_including('Source' => '/opt'))
end
end

Expand Down

0 comments on commit 868bbe3

Please sign in to comment.