Skip to content

Commit c9791b2

Browse files
committed
Make peadm_spec more visible
Move the peadm_spec module from spec/fixures/modules/peadm_spec to spec/acceptance/peadm_spec This move makes the module more discoverable, and also means we can stop messing with the .gitignore file defaults. We ensure this module is where it needs to be for Bolt to find it by adding a symlink to .fixtures.yml.
1 parent 4754ddc commit c9791b2

File tree

7 files changed

+5
-7
lines changed

7 files changed

+5
-7
lines changed

.fixtures.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,5 @@ fixtures:
1515
format: 'https://github.com/voxpupuli/puppet-format'
1616
container_inventory: 'https://gitlab.com/nwops/bolt-container_inventory'
1717
symlinks:
18-
"peadm": "#{source_dir}"
18+
"peadm": "#{source_dir}"
19+
"peadm_spec": "#{source_dir}/spec/acceptance/peadm_spec"

.gitignore

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,3 @@
3131
.plan_cache.json
3232
.resource_types/
3333
bolt-debug.log
34-
!spec/fixtures/modules
35-
spec/fixtures/modules/*
36-
!spec/fixtures/modules/peadm_spec

.sync.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,3 @@ spec/spec_helper.rb:
2626
- '.plan_cache.json'
2727
- '.resource_types/'
2828
- 'bolt-debug.log'
29-
- '!spec/fixtures/modules' # Have to reset this one to correctly not ignore peadm_spec
30-
- 'spec/fixtures/modules/*'
31-
- '!spec/fixtures/modules/peadm_spec'
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# peadm\_spec
2+
3+
This is the acceptance testing module for peadm. It contains Bolt plans used for testing.

0 commit comments

Comments
 (0)