forked from theforeman/puppet-candlepin
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The maven 3.5 and 3.6 modules are no longer supported on RHEL.
- Loading branch information
Showing
4 changed files
with
34 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
require 'spec_helper_acceptance' | ||
|
||
describe 'dnf module support' do | ||
context 'when swapping to maven 3.8' do | ||
before(:context) do | ||
on default, 'dnf module reset maven -y' | ||
on default, 'dnf module enable maven:3.5 -y' | ||
end | ||
|
||
include_examples 'the example', 'basic_candlepin.pp' | ||
|
||
describe command('dnf module list --enabled --quiet') do | ||
its(:stdout) { is_expected.to include('pki-core').and match(/^maven\s+3\.8/) } | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters