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
5844a756
Commit
5844a756
authored
Nov 26, 2020
by
Bob Van Landuyt
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'remove-describe' into 'master'
Remove unnecessary context See merge request gitlab-org/gitlab!48362
parents
fab11505
cde207e2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
6 deletions
+4
-6
spec/services/projects/update_pages_service_spec.rb
spec/services/projects/update_pages_service_spec.rb
+4
-6
No files found.
spec/services/projects/update_pages_service_spec.rb
View file @
5844a756
...
@@ -35,14 +35,12 @@ RSpec.describe Projects::UpdatePagesService do
...
@@ -35,14 +35,12 @@ RSpec.describe Projects::UpdatePagesService do
build
.
reload
build
.
reload
end
end
describe
'pages artifacts'
do
it
"doesn't delete artifacts after deploying"
do
it
"doesn't delete artifacts after deploying"
do
expect
(
execute
).
to
eq
(
:success
)
expect
(
execute
).
to
eq
(
:success
)
expect
(
project
.
pages_metadatum
).
to
be_deployed
expect
(
project
.
pages_metadatum
).
to
be_deployed
expect
(
build
.
artifacts?
).
to
eq
(
true
)
expect
(
build
.
artifacts?
).
to
eq
(
true
)
end
end
end
it
'succeeds'
do
it
'succeeds'
do
expect
(
project
.
pages_deployed?
).
to
be_falsey
expect
(
project
.
pages_deployed?
).
to
be_falsey
...
...
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