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
0
Merge Requests
0
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
Boxiang Sun
gitlab-ce
Commits
2f5637d6
Commit
2f5637d6
authored
Nov 23, 2016
by
tiagonbotelho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
renames some of the specs and adds changelog entry
parent
02c6cbf5
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
changelogs/unreleased/24779-last-deployment-call-on-nil-environment-fix.yml
...sed/24779-last-deployment-call-on-nil-environment-fix.yml
+4
-0
spec/views/projects/builds/show.html.haml_spec.rb
spec/views/projects/builds/show.html.haml_spec.rb
+3
-3
No files found.
changelogs/unreleased/24779-last-deployment-call-on-nil-environment-fix.yml
0 → 100644
View file @
2f5637d6
---
title
:
fixes last_deployment call environment is nil
merge_request
:
7671
author
:
spec/views/projects/builds/show.html.haml_spec.rb
View file @
2f5637d6
...
...
@@ -88,7 +88,7 @@ describe 'projects/builds/show', :view do
create
(
:ci_build
,
:running
,
environment:
'staging'
,
pipeline:
pipeline
)
end
context
'
and environment does exist
'
do
context
'
when environment exists
'
do
let!
(
:environment
)
do
create
(
:environment
,
name:
'staging'
,
project:
project
)
end
...
...
@@ -101,7 +101,7 @@ describe 'projects/builds/show', :view do
'.environment-information'
,
text:
expected_text
)
end
context
'
and
has deployment'
do
context
'
when it
has deployment'
do
let!
(
:deployment
)
do
create
(
:deployment
,
environment:
environment
)
end
...
...
@@ -118,7 +118,7 @@ describe 'projects/builds/show', :view do
end
end
context
'
and
environment does not exist'
do
context
'
when
environment does not exist'
do
it
'shows deployment message'
do
expected_text
=
'This build is creating a deployment to staging'
render
...
...
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