summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsyasonik <syasonik@gitlab.com>2019-07-17 14:28:29 +0300
committersyasonik <syasonik@gitlab.com>2019-07-17 14:28:29 +0300
commit63df0133ce367a488068fa5c3dff360c293341dd (patch)
tree03a0345f951bf1e6a9357d4c943df81ea03cc439
parent35ee96a13d43d920a03ca93b9e4873adb311dc20 (diff)
downloadgitlab-ce-sf-test-branch.tar.gz
Remove time freezesf-test-branch
-rw-r--r--spec/features/markdown/metrics_spec.rb5
1 files changed, 0 insertions, 5 deletions
diff --git a/spec/features/markdown/metrics_spec.rb b/spec/features/markdown/metrics_spec.rb
index 134fef3f6cb..6f9b704f28c 100644
--- a/spec/features/markdown/metrics_spec.rb
+++ b/spec/features/markdown/metrics_spec.rb
@@ -9,7 +9,6 @@ describe 'Metrics rendering', :js, :use_clean_rails_memory_store_caching do
let(:pipeline) { create(:ci_pipeline, project: project) }
let(:build) { create(:ci_build, pipeline: pipeline) }
let(:environment) { create(:environment, project: project) }
- let(:current_time) { Time.now.utc }
before do
configure_host
@@ -22,10 +21,6 @@ describe 'Metrics rendering', :js, :use_clean_rails_memory_store_caching do
sign_in(user)
end
- around do |example|
- Timecop.freeze(current_time) { example.run }
- end
-
context 'with deployments and related deployable present' do
it 'shows embedded metrics' do
description = metrics_project_environment_url(project, environment)