Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
9e17f242
Commit
9e17f242
authored
Jul 27, 2020
by
Uday Aggarwal
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
replaced spec_helper with fast_spec_helper for avoid_break_from_strong_memoize_spec
parent
1e4701d6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
spec/rubocop/cop/avoid_break_from_strong_memoize_spec.rb
spec/rubocop/cop/avoid_break_from_strong_memoize_spec.rb
+3
-4
No files found.
spec/rubocop/cop/avoid_break_from_strong_memoize_spec.rb
View file @
9e17f242
# 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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment