summaryrefslogtreecommitdiff
path: root/spec/rubocop/cop/performance/readlines_each_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/rubocop/cop/performance/readlines_each_spec.rb')
-rw-r--r--spec/rubocop/cop/performance/readlines_each_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/rubocop/cop/performance/readlines_each_spec.rb b/spec/rubocop/cop/performance/readlines_each_spec.rb
index e71aaaf3056..2f222f1dc00 100644
--- a/spec/rubocop/cop/performance/readlines_each_spec.rb
+++ b/spec/rubocop/cop/performance/readlines_each_spec.rb
@@ -1,11 +1,11 @@
# frozen_string_literal: true
require 'fast_spec_helper'
+require 'rubocop'
require_relative '../../../../rubocop/cop/performance/readlines_each'
-describe RuboCop::Cop::Performance::ReadlinesEach, type: :rubocop do
+RSpec.describe RuboCop::Cop::Performance::ReadlinesEach, type: :rubocop do
include CopHelper
- include ExpectOffense
subject(:cop) { described_class.new }