Skip to content

Commit 5057117

Browse files
committed
Ignore remaining rebocop offenses
1 parent 3e64f86 commit 5057117

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

spec/unit/facter/pip_version_spec.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
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)
@@ -24,6 +25,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

spec/unit/facter/python_release_spec.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
Facter.clear
88
end
99

10+
# rubocop:disable RSpec/IndexedLet
1011
let(:python2_version_output) do
1112
<<~EOS
1213
Python 2.7.9
@@ -17,6 +18,7 @@
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

spec/unit/facter/python_version_spec.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
Facter.clear
88
end
99

10+
# rubocop:disable RSpec/IndexedLet
1011
let(:python2_version_output) do
1112
<<~EOS
1213
Python 2.7.9
@@ -17,6 +18,7 @@
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

0 commit comments

Comments
 (0)