Skip to content

Commit

Permalink
(spec/fiberspec.rb) add rule test
Browse files Browse the repository at this point in the history
  • Loading branch information
dtapiacl committed Apr 26, 2024
1 parent 1a795f2 commit e0a16fb
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions spec/support/spec/fiberspec.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# frozen_string_literal: true

shared_examples 'fiberspec' do
it do
is_expected.to contain_systemd__udev__rule('fiberspec.rules').with(
rules: [
'SUBSYSTEM=="usb", ATTR{idVendor}=="1992", ATTR{idProduct}=="0667", ACTION=="add", GROUP="saluser", MODE="0664"',
],
)
end
end

0 comments on commit e0a16fb

Please sign in to comment.