Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean McGivern <sean@mcgivern.me.uk>2017-05-12 15:37:18 +0300
committerSean McGivern <sean@mcgivern.me.uk>2017-05-12 15:37:18 +0300
commit592263ead99a13513adbee9d1bf041e9098763f2 (patch)
treebc089331239c7b7919c68603ff7562da9b23b227 /spec/features/dashboard
parent8f47540ab828a429b0f14c64e54fcc9ff0862e95 (diff)
parente2a3a5095abd8c1fa57dd19e4ff693ae4021fde8 (diff)
Merge branch 'update_assignee_cache_counts_refactoring' into 'master'
Rework update_assignee_cache_counts Closes #31873 See merge request !11270
Diffstat (limited to 'spec/features/dashboard')
-rw-r--r--spec/features/dashboard/issuables_counter_spec.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/spec/features/dashboard/issuables_counter_spec.rb b/spec/features/dashboard/issuables_counter_spec.rb
index 6f7bf0eba6e..354267dbee7 100644
--- a/spec/features/dashboard/issuables_counter_spec.rb
+++ b/spec/features/dashboard/issuables_counter_spec.rb
@@ -19,7 +19,7 @@ describe 'Navigation bar counter', feature: true, caching: true do
issue.assignees = []
- user.update_cache_counts
+ user.invalidate_cache_counts
Timecop.travel(3.minutes.from_now) do
visit issues_path
@@ -35,6 +35,8 @@ describe 'Navigation bar counter', feature: true, caching: true do
merge_request.update(assignee: nil)
+ user.invalidate_cache_counts
+
Timecop.travel(3.minutes.from_now) do
visit merge_requests_path