Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
users-formula
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
salt
users-formula
Commits
569e9276
Unverified
Commit
569e9276
authored
5 years ago
by
Felipe Zipitria
Committed by
Imran Iqbal
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
test(inspec): add test to check `.vimrc` file is generated properly
parent
a263a62e
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
test/integration/vimrc/controls/config_spec.rb
+11
-0
11 additions, 0 deletions
test/integration/vimrc/controls/config_spec.rb
with
11 additions
and
0 deletions
test/integration/vimrc/controls/config_spec.rb
0 → 100644
+
11
−
0
View file @
569e9276
# frozen_string_literal: true
control
'vimrc is managed'
do
title
'formula should manage .vimrc'
describe
file
(
'/home/vim_user/.vimrc'
)
do
it
{
should
be_owned_by
'vim_user'
}
its
(
'mode'
)
{
should
cmp
'0644'
}
its
(
'content'
)
{
should
match
(
/syntax on/
)
}
end
end
This diff is collapsed.
Click to expand it.
Dennis Ahrens
@ahrensde
mentioned in commit
3d583231
·
5 years ago
mentioned in commit
3d583231
mentioned in commit 3d583231186d2906a62df2c2004cc896845851e5
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment