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
8912867d
Commit
8912867d
authored
Aug 10, 2020
by
jboyson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix failing tests
parent
222d2d21
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
spec/features/projects/environments/environments_spec.rb
spec/features/projects/environments/environments_spec.rb
+1
-1
spec/frontend/environments/environment_external_url_spec.js
spec/frontend/environments/environment_external_url_spec.js
+2
-2
No files found.
spec/features/projects/environments/environments_spec.rb
View file @
8912867d
...
...
@@ -37,7 +37,7 @@ RSpec.describe 'Environments page', :js do
expect
(
page
).
to
have_css
(
'.environments-container'
)
expect
(
page
.
all
(
'.environment-name'
).
length
).
to
eq
(
1
)
expect
(
page
.
all
(
'
.ic-stop
'
).
length
).
to
eq
(
1
)
expect
(
page
.
all
(
'
[data-testid="stop-icon"]
'
).
length
).
to
eq
(
1
)
end
end
...
...
spec/frontend/environments/environment_external_url_spec.js
View file @
8912867d
import
{
shallowM
ount
}
from
'
@vue/test-utils
'
;
import
{
m
ount
}
from
'
@vue/test-utils
'
;
import
ExternalUrlComp
from
'
~/environments/components/environment_external_url.vue
'
;
describe
(
'
External URL Component
'
,
()
=>
{
...
...
@@ -6,7 +6,7 @@ describe('External URL Component', () => {
const
externalUrl
=
'
https://gitlab.com
'
;
beforeEach
(()
=>
{
wrapper
=
shallowM
ount
(
ExternalUrlComp
,
{
propsData
:
{
externalUrl
}
});
wrapper
=
m
ount
(
ExternalUrlComp
,
{
propsData
:
{
externalUrl
}
});
});
it
(
'
should link to the provided externalUrl prop
'
,
()
=>
{
...
...
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