We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
YumRepo doesn't define to_s. We expect output like this:
YumRepo: epel should exist
but actual like this:
#<Inspec::Resources::YumRepo:0x007f86e41949d0> should exist
1.8.0
spec_rb:
describe yum.repo('epel') do it { should exist } end
execute:
inspec exec spec.rb
will output:
... #<Inspec::Resources::YumRepo:0x007f6b11c7a7d0> should ...
Implement YumRepo#to_s
The text was updated successfully, but these errors were encountered:
Yum.repo should show correct name
370269c
inspec#1390 Signed-off-by: Wei, He <weihe924stephen@gmail.com>
Successfully merging a pull request may close this issue.
Description
YumRepo doesn't define to_s.
We expect output like this:
but actual like this:
InSpec and Platform Version
1.8.0
Replication Case
spec_rb:
execute:
will output:
Possible Solutions
Implement YumRepo#to_s
The text was updated successfully, but these errors were encountered: