-
Notifications
You must be signed in to change notification settings - Fork 683
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
Feature: Implementation of RFC Attributes #723
Conversation
b46023f
to
6bbd883
Compare
6bbd883
to
fca9b9f
Compare
|
||
# that works | ||
describe 'bob' do | ||
it { should eq val_user } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Inverting feels more readable:
describe val_user do
it { should eq 'bob' }
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ditto vv
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, I like that...
Awesome work @chris-rock !! Adding the ncessary tests should round this up. |
fca9b9f
to
897e1e9
Compare
897e1e9
to
30592b2
Compare
30592b2
to
463238c
Compare
9e4a877
to
8a65fb3
Compare
8a65fb3
to
caf4498
Compare
caf4498
to
f1faf47
Compare
This PR implements parts of RFC Attributes #719
To use it:
$ inspec exec examples/profile-attribute --attrs examples/profile-attribute.yml
An attributes file looks like:
The usage within a profile is as following: