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:
Diffstat (limited to 'spec/fixtures/trace/sample_trace')
-rw-r--r--spec/fixtures/trace/sample_trace2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/fixtures/trace/sample_trace b/spec/fixtures/trace/sample_trace
index ebd2853e558..ad01c113062 100644
--- a/spec/fixtures/trace/sample_trace
+++ b/spec/fixtures/trace/sample_trace
@@ -2592,7 +2592,7 @@ TeamcityService
should not validate that :username cannot be empty/falsy
should not validate that :password cannot be empty/falsy
Callbacks
- before_update :reset_password
+ before_validation :reset_password
saves password if new url is set together with password when no password was previously set
when a password was previously set
resets password if url changed