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
f73799ae
Commit
f73799ae
authored
Oct 01, 2020
by
alinamihaila
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix ruby 2.7 deprecation warnings:
- issue_activity_unique_counter_spec
parent
8a5d5b40
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
spec/lib/gitlab/usage_data_counters/issue_activity_unique_counter_spec.rb
...usage_data_counters/issue_activity_unique_counter_spec.rb
+9
-9
No files found.
spec/lib/gitlab/usage_data_counters/issue_activity_unique_counter_spec.rb
View file @
f73799ae
...
...
@@ -47,7 +47,7 @@ RSpec.describe Gitlab::UsageDataCounters::IssueActivityUniqueCounter, :clean_git
let
(
:action
)
{
described_class
::
ISSUE_TITLE_CHANGED
}
def
track_action
(
params
)
described_class
.
track_issue_title_changed_action
(
params
)
described_class
.
track_issue_title_changed_action
(
**
params
)
end
end
end
...
...
@@ -57,7 +57,7 @@ RSpec.describe Gitlab::UsageDataCounters::IssueActivityUniqueCounter, :clean_git
let
(
:action
)
{
described_class
::
ISSUE_DESCRIPTION_CHANGED
}
def
track_action
(
params
)
described_class
.
track_issue_description_changed_action
(
params
)
described_class
.
track_issue_description_changed_action
(
**
params
)
end
end
end
...
...
@@ -67,7 +67,7 @@ RSpec.describe Gitlab::UsageDataCounters::IssueActivityUniqueCounter, :clean_git
let
(
:action
)
{
described_class
::
ISSUE_ASSIGNEE_CHANGED
}
def
track_action
(
params
)
described_class
.
track_issue_assignee_changed_action
(
params
)
described_class
.
track_issue_assignee_changed_action
(
**
params
)
end
end
end
...
...
@@ -77,7 +77,7 @@ RSpec.describe Gitlab::UsageDataCounters::IssueActivityUniqueCounter, :clean_git
let
(
:action
)
{
described_class
::
ISSUE_MADE_CONFIDENTIAL
}
def
track_action
(
params
)
described_class
.
track_issue_made_confidential_action
(
params
)
described_class
.
track_issue_made_confidential_action
(
**
params
)
end
end
end
...
...
@@ -87,7 +87,7 @@ RSpec.describe Gitlab::UsageDataCounters::IssueActivityUniqueCounter, :clean_git
let
(
:action
)
{
described_class
::
ISSUE_MADE_VISIBLE
}
def
track_action
(
params
)
described_class
.
track_issue_made_visible_action
(
params
)
described_class
.
track_issue_made_visible_action
(
**
params
)
end
end
end
...
...
@@ -97,7 +97,7 @@ RSpec.describe Gitlab::UsageDataCounters::IssueActivityUniqueCounter, :clean_git
let
(
:action
)
{
described_class
::
ISSUE_CREATED
}
def
track_action
(
params
)
described_class
.
track_issue_created_action
(
params
)
described_class
.
track_issue_created_action
(
**
params
)
end
end
end
...
...
@@ -107,7 +107,7 @@ RSpec.describe Gitlab::UsageDataCounters::IssueActivityUniqueCounter, :clean_git
let
(
:action
)
{
described_class
::
ISSUE_CLOSED
}
def
track_action
(
params
)
described_class
.
track_issue_closed_action
(
params
)
described_class
.
track_issue_closed_action
(
**
params
)
end
end
end
...
...
@@ -117,7 +117,7 @@ RSpec.describe Gitlab::UsageDataCounters::IssueActivityUniqueCounter, :clean_git
let
(
:action
)
{
described_class
::
ISSUE_REOPENED
}
def
track_action
(
params
)
described_class
.
track_issue_reopened_action
(
params
)
described_class
.
track_issue_reopened_action
(
**
params
)
end
end
end
...
...
@@ -127,7 +127,7 @@ RSpec.describe Gitlab::UsageDataCounters::IssueActivityUniqueCounter, :clean_git
let
(
:action
)
{
described_class
::
ISSUE_LABEL_CHANGED
}
def
track_action
(
params
)
described_class
.
track_issue_label_changed_action
(
params
)
described_class
.
track_issue_label_changed_action
(
**
params
)
end
end
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