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
0b98773e
Commit
0b98773e
authored
Apr 02, 2020
by
Leandro Silva
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removes redundant assertion
parent
9027a447
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
26 deletions
+0
-26
ee/spec/services/geo/repository_verification_primary_service_spec.rb
...vices/geo/repository_verification_primary_service_spec.rb
+0
-26
No files found.
ee/spec/services/geo/repository_verification_primary_service_spec.rb
View file @
0b98773e
...
...
@@ -32,32 +32,6 @@ describe Geo::RepositoryVerificationPrimaryService do
)
end
it
'calculates the checksum for outdated projects'
do
stub_project_repository
(
project
,
repository
)
stub_wiki_repository
(
project
.
wiki
,
wiki
)
repository_state
=
create
(
:repository_state
,
project:
project
,
repository_verification_checksum:
nil
,
wiki_verification_checksum:
nil
)
subject
.
execute
expect
(
repository_state
.
reload
).
to
have_attributes
(
repository_verification_checksum:
'f123'
,
last_repository_verification_ran_at:
be_present
,
last_repository_verification_failure:
nil
,
wiki_verification_checksum:
'e321'
,
last_wiki_verification_ran_at:
be_present
,
last_wiki_verification_failure:
nil
,
repository_retry_at:
nil
,
repository_retry_count:
nil
,
wiki_retry_at:
nil
,
wiki_retry_count:
nil
)
end
it
'calculates the checksum for outdated repositories/wikis'
do
stub_project_repository
(
project
,
repository
)
stub_wiki_repository
(
project
.
wiki
,
wiki
)
...
...
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