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 77 Facter . clear
88 end
99
10+ # rubocop:disable RSpec/IndexedLet
1011 let ( :pip_version_output ) do
1112 <<~EOS
1213 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)
2425 pip 18.1 from /usr/lib/python3/dist-packages/pip (python 3.7)
2526 EOS
2627 end
28+ # rubocop:enable RSpec/IndexedLet
2729
2830 describe 'pip_version' do
2931 context 'returns pip version when pip present' do
Original file line number Diff line number Diff line change 77 Facter . clear
88 end
99
10+ # rubocop:disable RSpec/IndexedLet
1011 let ( :python2_version_output ) do
1112 <<~EOS
1213 Python 2.7.9
1718 Python 3.3.0
1819 EOS
1920 end
21+ # rubocop:enable RSpec/IndexedLet
2022
2123 describe 'python_release' do
2224 context 'returns Python release when `python` present' do
Original file line number Diff line number Diff line change 77 Facter . clear
88 end
99
10+ # rubocop:disable RSpec/IndexedLet
1011 let ( :python2_version_output ) do
1112 <<~EOS
1213 Python 2.7.9
1718 Python 3.3.0
1819 EOS
1920 end
21+ # rubocop:enable RSpec/IndexedLet
2022
2123 describe 'python_version' do
2224 context 'returns Python version when `python` present' do
You can’t perform that action at this time.
0 commit comments