File tree Expand file tree Collapse file tree 3 files changed +6
-0
lines changed Expand file tree Collapse file tree 3 files changed +6
-0
lines changed Original file line number Diff line number Diff line change 7
7
Facter . clear
8
8
end
9
9
10
+ # rubocop:disable RSpec/IndexedLet
10
11
let ( :pip_version_output ) do
11
12
<<~EOS
12
13
pip 6.0.6 from /opt/boxen/homebrew/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pip-6.0.6-py2.7.egg (python 2.7)
24
25
pip 18.1 from /usr/lib/python3/dist-packages/pip (python 3.7)
25
26
EOS
26
27
end
28
+ # rubocop:enable RSpec/IndexedLet
27
29
28
30
describe 'pip_version' do
29
31
context 'returns pip version when pip present' do
Original file line number Diff line number Diff line change 7
7
Facter . clear
8
8
end
9
9
10
+ # rubocop:disable RSpec/IndexedLet
10
11
let ( :python2_version_output ) do
11
12
<<~EOS
12
13
Python 2.7.9
17
18
Python 3.3.0
18
19
EOS
19
20
end
21
+ # rubocop:enable RSpec/IndexedLet
20
22
21
23
describe 'python_release' do
22
24
context 'returns Python release when `python` present' do
Original file line number Diff line number Diff line change 7
7
Facter . clear
8
8
end
9
9
10
+ # rubocop:disable RSpec/IndexedLet
10
11
let ( :python2_version_output ) do
11
12
<<~EOS
12
13
Python 2.7.9
17
18
Python 3.3.0
18
19
EOS
19
20
end
21
+ # rubocop:enable RSpec/IndexedLet
20
22
21
23
describe 'python_version' do
22
24
context 'returns Python version when `python` present' do
You can’t perform that action at this time.
0 commit comments