Skip to content

Commit

Permalink
Remove unnecessary let for outdated dependency
Browse files Browse the repository at this point in the history
Follow up to 239dd17c
  • Loading branch information
koic committed Jul 8, 2021
1 parent a6cc38f commit 074fdfe
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions spec/rubocop/cop/performance/bind_call_spec.rb
@@ -1,10 +1,6 @@
# frozen_string_literal: true

RSpec.describe RuboCop::Cop::Performance::BindCall, :config do
# TODO: The following is no longer required when RuboCop 0.78 or lower support will be dropped.
# https://github.com/rubocop/rubocop/pull/7605
let(:ruby_version) { 2.7 }

context 'TargetRubyVersion <= 2.6', :ruby26 do
it 'does not register an offense when using `bind(obj).call(args, ...)`' do
expect_no_offenses(<<~RUBY)
Expand Down

0 comments on commit 074fdfe

Please sign in to comment.