Commit bc55f75f authored by Igor Drozdov's avatar Igor Drozdov

Merge branch '257438-issues-activity-unique-counter-fix-warnings' into 'master'

Fix Ruby 2.7 deprecation warnings in issue_activity_unique_counter_spec

See merge request gitlab-org/gitlab!43663
parents 5d8842ad f73799ae
...@@ -47,7 +47,7 @@ RSpec.describe Gitlab::UsageDataCounters::IssueActivityUniqueCounter, :clean_git ...@@ -47,7 +47,7 @@ RSpec.describe Gitlab::UsageDataCounters::IssueActivityUniqueCounter, :clean_git
let(:action) { described_class::ISSUE_TITLE_CHANGED } let(:action) { described_class::ISSUE_TITLE_CHANGED }
def track_action(params) def track_action(params)
described_class.track_issue_title_changed_action(params) described_class.track_issue_title_changed_action(**params)
end end
end end
end end
...@@ -57,7 +57,7 @@ RSpec.describe Gitlab::UsageDataCounters::IssueActivityUniqueCounter, :clean_git ...@@ -57,7 +57,7 @@ RSpec.describe Gitlab::UsageDataCounters::IssueActivityUniqueCounter, :clean_git
let(:action) { described_class::ISSUE_DESCRIPTION_CHANGED } let(:action) { described_class::ISSUE_DESCRIPTION_CHANGED }
def track_action(params) def track_action(params)
described_class.track_issue_description_changed_action(params) described_class.track_issue_description_changed_action(**params)
end end
end end
end end
...@@ -67,7 +67,7 @@ RSpec.describe Gitlab::UsageDataCounters::IssueActivityUniqueCounter, :clean_git ...@@ -67,7 +67,7 @@ RSpec.describe Gitlab::UsageDataCounters::IssueActivityUniqueCounter, :clean_git
let(:action) { described_class::ISSUE_ASSIGNEE_CHANGED } let(:action) { described_class::ISSUE_ASSIGNEE_CHANGED }
def track_action(params) def track_action(params)
described_class.track_issue_assignee_changed_action(params) described_class.track_issue_assignee_changed_action(**params)
end end
end end
end end
...@@ -77,7 +77,7 @@ RSpec.describe Gitlab::UsageDataCounters::IssueActivityUniqueCounter, :clean_git ...@@ -77,7 +77,7 @@ RSpec.describe Gitlab::UsageDataCounters::IssueActivityUniqueCounter, :clean_git
let(:action) { described_class::ISSUE_MADE_CONFIDENTIAL } let(:action) { described_class::ISSUE_MADE_CONFIDENTIAL }
def track_action(params) def track_action(params)
described_class.track_issue_made_confidential_action(params) described_class.track_issue_made_confidential_action(**params)
end end
end end
end end
...@@ -87,7 +87,7 @@ RSpec.describe Gitlab::UsageDataCounters::IssueActivityUniqueCounter, :clean_git ...@@ -87,7 +87,7 @@ RSpec.describe Gitlab::UsageDataCounters::IssueActivityUniqueCounter, :clean_git
let(:action) { described_class::ISSUE_MADE_VISIBLE } let(:action) { described_class::ISSUE_MADE_VISIBLE }
def track_action(params) def track_action(params)
described_class.track_issue_made_visible_action(params) described_class.track_issue_made_visible_action(**params)
end end
end end
end end
...@@ -97,7 +97,7 @@ RSpec.describe Gitlab::UsageDataCounters::IssueActivityUniqueCounter, :clean_git ...@@ -97,7 +97,7 @@ RSpec.describe Gitlab::UsageDataCounters::IssueActivityUniqueCounter, :clean_git
let(:action) { described_class::ISSUE_CREATED } let(:action) { described_class::ISSUE_CREATED }
def track_action(params) def track_action(params)
described_class.track_issue_created_action(params) described_class.track_issue_created_action(**params)
end end
end end
end end
...@@ -107,7 +107,7 @@ RSpec.describe Gitlab::UsageDataCounters::IssueActivityUniqueCounter, :clean_git ...@@ -107,7 +107,7 @@ RSpec.describe Gitlab::UsageDataCounters::IssueActivityUniqueCounter, :clean_git
let(:action) { described_class::ISSUE_CLOSED } let(:action) { described_class::ISSUE_CLOSED }
def track_action(params) def track_action(params)
described_class.track_issue_closed_action(params) described_class.track_issue_closed_action(**params)
end end
end end
end end
...@@ -117,7 +117,7 @@ RSpec.describe Gitlab::UsageDataCounters::IssueActivityUniqueCounter, :clean_git ...@@ -117,7 +117,7 @@ RSpec.describe Gitlab::UsageDataCounters::IssueActivityUniqueCounter, :clean_git
let(:action) { described_class::ISSUE_REOPENED } let(:action) { described_class::ISSUE_REOPENED }
def track_action(params) def track_action(params)
described_class.track_issue_reopened_action(params) described_class.track_issue_reopened_action(**params)
end end
end end
end end
...@@ -127,7 +127,7 @@ RSpec.describe Gitlab::UsageDataCounters::IssueActivityUniqueCounter, :clean_git ...@@ -127,7 +127,7 @@ RSpec.describe Gitlab::UsageDataCounters::IssueActivityUniqueCounter, :clean_git
let(:action) { described_class::ISSUE_LABEL_CHANGED } let(:action) { described_class::ISSUE_LABEL_CHANGED }
def track_action(params) def track_action(params)
described_class.track_issue_label_changed_action(params) described_class.track_issue_label_changed_action(**params)
end end
end end
end 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