summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2019-03-29 20:57:45 -0700
committerStan Hu <stanhu@gmail.com>2019-03-29 21:05:37 -0700
commitbf286d1172430051cf12ad2e1bbe27c063b7d74d (patch)
treeb1f222d9cccd486e77a3fdba58d49603ca1450e9 /scripts
parent8749b019577409b148e41e94162f3235872794f8 (diff)
downloadgitlab-ce-bf286d1172430051cf12ad2e1bbe27c063b7d74d.tar.gz
Fix failing spec in spec/features/users/login_spec.rb
This spec would start to fail on the first of the month because the generated text would have a zero-padded day (e.g. 01 vs 1), whereas the expected text check used an unpadded day via the `-d` parameter in strftime (https://apidock.com/ruby/Date/strftime). To fix this, we use use the `d` parameter to pad zeros. This spec was introduced recently in https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/25731. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/59731
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions