summaryrefslogtreecommitdiff
path: root/config/initializers/rspec_profiling.rb
diff options
context:
space:
mode:
Diffstat (limited to 'config/initializers/rspec_profiling.rb')
-rw-r--r--config/initializers/rspec_profiling.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/initializers/rspec_profiling.rb b/config/initializers/rspec_profiling.rb
index ac353d14499..70177995356 100644
--- a/config/initializers/rspec_profiling.rb
+++ b/config/initializers/rspec_profiling.rb
@@ -7,7 +7,7 @@ module RspecProfilingExt
module Git
def branch
- ENV['CI_BUILD_REF_NAME'] || super
+ ENV['CI_COMMIT_REF_NAME'] || super
end
end