diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-08-31 15:10:41 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-08-31 15:10:41 +0000 |
commit | 2368893df711f330cd210005e616fc3b6003ff31 (patch) | |
tree | d48874fb1279741f8e97a7f397e46d14ac2df05f /spec/models/board_project_recent_visit_spec.rb | |
parent | 729eabcb410add9dbcfa46677308003dc95a64d0 (diff) | |
download | gitlab-ce-2368893df711f330cd210005e616fc3b6003ff31.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/models/board_project_recent_visit_spec.rb')
-rw-r--r-- | spec/models/board_project_recent_visit_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/board_project_recent_visit_spec.rb b/spec/models/board_project_recent_visit_spec.rb index 8e74405fd8c..145a4f5b1a7 100644 --- a/spec/models/board_project_recent_visit_spec.rb +++ b/spec/models/board_project_recent_visit_spec.rb @@ -28,7 +28,7 @@ RSpec.describe BoardProjectRecentVisit do let!(:visit) { create :board_project_recent_visit, project: board.project, board: board, user: user, updated_at: 7.days.ago } it 'updates the timestamp' do - Timecop.freeze do + freeze_time do described_class.visited!(user, board) expect(described_class.count).to eq 1 |