Commit 9e17f242 authored by Uday Aggarwal's avatar Uday Aggarwal

replaced spec_helper with fast_spec_helper for avoid_break_from_strong_memoize_spec

parent 1e4701d6
# frozen_string_literal: true
require 'spec_helper'
require 'fast_spec_helper'
require 'rubocop'
require 'rubocop/rspec/support'
require_relative '../../../rubocop/cop/avoid_break_from_strong_memoize'
RSpec.describe RuboCop::Cop::AvoidBreakFromStrongMemoize do
RSpec.describe RuboCop::Cop::AvoidBreakFromStrongMemoize, type: :rubocop do
include CopHelper
subject(:cop) { described_class.new }
......@@ -62,7 +61,7 @@ RSpec.describe RuboCop::Cop::AvoidBreakFromStrongMemoize do
end
end
RUBY
expect_next_instance_of(described_class) do |instance|
expect_any_instance_of(described_class) do |instance|
expect(instance).to receive(:add_offense).once
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