Skip to content

Commit

Permalink
Update test for missing version configuration in nexus class
Browse files Browse the repository at this point in the history
  • Loading branch information
zipkid committed Dec 6, 2023
1 parent 7a3b99d commit 4e1ec89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/classes/init_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

it 'fails if no version configured' do
expect { is_expected.to compile }.to raise_error(RSpec::Expectations::ExpectationNotMetError,
%r{expects a value for parameter 'version'})
%r{nexus::version must be set when using package_type => src})
end
end

Expand Down

0 comments on commit 4e1ec89

Please sign in to comment.