File tree 2 files changed +6
-7
lines changed 2 files changed +6
-7
lines changed Original file line number Diff line number Diff line change 1
1
require 'spec_helper'
2
2
3
- describe 'python::dotfile' , type : :define do # rubocop:disable RSpec/MultipleDescribes
4
-
3
+ describe 'python::dotfile' , type : :define do
5
4
on_supported_os . each do |os , facts |
6
- context ( "on #{ os } " ) {
5
+ context ( "on #{ os } " ) do
7
6
let :facts do
8
7
facts
9
8
end
32
31
it { is_expected . to contain_file ( '/home/someuser/.pip/pip.conf' ) . with_mode ( '0644' ) }
33
32
end
34
33
end
35
- }
34
+ end
36
35
end
37
36
end
Original file line number Diff line number Diff line change 2
2
3
3
describe 'python::pyvenv' , type : :define do
4
4
on_supported_os . each do |os , facts |
5
- context ( "on #{ os } " ) {
5
+ context ( "on #{ os } " ) do
6
6
let :facts do
7
7
facts
8
8
end
19
19
context 'is absent' do
20
20
let :params do
21
21
{
22
- ensure : 'absent'
22
+ ensure : 'absent'
23
23
}
24
24
end
25
25
28
28
}
29
29
end
30
30
end
31
- }
31
+ end
32
32
end
33
33
end
You can’t perform that action at this time.
0 commit comments