Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
bebc364f
Commit
bebc364f
authored
Sep 26, 2021
by
Paul Slaughter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix broken master caused by zero padded date days in spec
https://gitlab.com/gitlab-org/gitlab/-/issues/341699
parent
7546a09e
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
spec/features/admin/admin_users_impersonation_tokens_spec.rb
spec/features/admin/admin_users_impersonation_tokens_spec.rb
+1
-1
spec/features/profiles/personal_access_tokens_spec.rb
spec/features/profiles/personal_access_tokens_spec.rb
+1
-1
spec/features/projects/settings/access_tokens_spec.rb
spec/features/projects/settings/access_tokens_spec.rb
+1
-1
spec/support/shared_examples/features/deploy_token_shared_examples.rb
.../shared_examples/features/deploy_token_shared_examples.rb
+1
-1
No files found.
spec/features/admin/admin_users_impersonation_tokens_spec.rb
View file @
bebc364f
...
...
@@ -66,7 +66,7 @@ RSpec.describe 'Admin > Users > Impersonation Tokens', :js do
admin
.
update!
(
time_display_relative:
false
)
visit
admin_user_impersonation_tokens_path
(
user_id:
user
.
username
)
expect
(
active_impersonation_tokens
).
to
have_text
(
personal_access_token
.
expires_at
.
strftime
(
'%b %d'
))
expect
(
active_impersonation_tokens
).
to
have_text
(
personal_access_token
.
expires_at
.
strftime
(
'%b %
-
d'
))
end
end
...
...
spec/features/profiles/personal_access_tokens_spec.rb
View file @
bebc364f
...
...
@@ -94,7 +94,7 @@ RSpec.describe 'Profile > Personal Access Tokens', :js do
it
'shows absolute times for expires_at'
do
visit
profile_personal_access_tokens_path
expect
(
active_personal_access_tokens
).
to
have_text
(
PersonalAccessToken
.
last
.
expires_at
.
strftime
(
'%b %d'
))
expect
(
active_personal_access_tokens
).
to
have_text
(
PersonalAccessToken
.
last
.
expires_at
.
strftime
(
'%b %
-
d'
))
end
end
end
...
...
spec/features/projects/settings/access_tokens_spec.rb
View file @
bebc364f
...
...
@@ -165,7 +165,7 @@ RSpec.describe 'Project > Settings > Access Tokens', :js do
it
'shows absolute times for expires_at'
do
visit
project_settings_access_tokens_path
(
project
)
expect
(
active_project_access_tokens
).
to
have_text
(
PersonalAccessToken
.
last
.
expires_at
.
strftime
(
'%b %d'
))
expect
(
active_project_access_tokens
).
to
have_text
(
PersonalAccessToken
.
last
.
expires_at
.
strftime
(
'%b %
-
d'
))
end
end
end
...
...
spec/support/shared_examples/features/deploy_token_shared_examples.rb
View file @
bebc364f
...
...
@@ -41,7 +41,7 @@ RSpec.shared_examples 'a deploy token in settings' do
visit
page_path
within
(
'.deploy-tokens'
)
do
expect
(
page
).
to
have_content
(
deploy_token
.
expires_at
.
strftime
(
'%b %d'
))
expect
(
page
).
to
have_content
(
deploy_token
.
expires_at
.
strftime
(
'%b %
-
d'
))
end
end
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment