Skip to content
New issue

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

Refrain from using Rspec style expect() syntax #35

Open
rx294 opened this issue Dec 27, 2018 · 2 comments
Open

Refrain from using Rspec style expect() syntax #35

rx294 opened this issue Dec 27, 2018 · 2 comments
Labels
question Further information is requested research

Comments

@rx294
Copy link
Collaborator

rx294 commented Dec 27, 2018

The use of underlying rspec style expect() results in errors similar to:

Message: undefined method `expect' for #<RSpec::ExampleGroups::AnIIS85WebServerMustMaintainTheConfidentialityOfControlledInformationDuringTransmissionThroughTheUseOfAnApprovedTLSVersionTLS11ShouldNotBeDisabledByDefaultCurrentlyTLS11DisabledByDefault:0x0000000008e6c1e0>
Did you mean? exec

We should refrain from this style since this is not officially supported by inspec

Affected controls:

V-76759
V-76769
V-76771
V-76761
V-76757

@aaronlippold
Copy link
Member

This should be fixed by 3.0.61

@Amndeep7
Copy link

Amndeep7 commented Feb 7, 2022

Has this syntax issue been resolved in inspec yet? If so, this issue can be closed.

@Amndeep7 Amndeep7 added question Further information is requested research labels Feb 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested research
Projects
None yet
Development

No branches or pull requests

3 participants