Commit dc42bddc authored by alinamihaila's avatar alinamihaila

Remove usage of let

parent 2bc0d586
......@@ -81,14 +81,10 @@ RSpec.describe RuboCop::Cop::UsageData::LargeTable, type: :rubocop do
end
context 'when using allowed methods' do
let(:source) do
<<~SRC
it 'does not register an offence' do
inspect_source <<~SRC
Issue.minimum
SRC
end
it 'does not register an offence' do
inspect_source(source)
expect(cop.offenses).to be_empty
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment