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
662f87ca
Commit
662f87ca
authored
Oct 31, 2017
by
Phil Hughes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
spec fixes
parent
098a9805
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
2 deletions
+7
-2
app/assets/stylesheets/pages/repo.scss
app/assets/stylesheets/pages/repo.scss
+5
-0
spec/features/projects/tree/create_file_spec.rb
spec/features/projects/tree/create_file_spec.rb
+0
-2
spec/javascripts/repo/components/new_dropdown/modal_spec.js
spec/javascripts/repo/components/new_dropdown/modal_spec.js
+2
-0
No files found.
app/assets/stylesheets/pages/repo.scss
View file @
662f87ca
...
...
@@ -32,6 +32,7 @@
}
.tree-content-holder
{
display
:
-
webkit-flex
;
display
:
flex
;
min-height
:
300px
;
}
...
...
@@ -134,6 +135,10 @@
vertical-align
:
middle
;
text-decoration
:
none
;
margin-right
:
12px
;
&
:focus
{
outline
:
none
;
}
}
.close-btn
{
...
...
spec/features/projects/tree/create_file_spec.rb
View file @
662f87ca
...
...
@@ -28,8 +28,6 @@ feature 'Multi-file editor new file', :js do
click_button
(
'Create file'
)
end
find
(
'.inputarea'
).
send_keys
(
'file content'
)
fill_in
(
'commit-message'
,
with:
'commit message'
)
click_button
(
'Commit 1 file'
)
...
...
spec/javascripts/repo/components/new_dropdown/modal_spec.js
View file @
662f87ca
...
...
@@ -19,6 +19,7 @@ describe('new file modal component', () => {
beforeEach
(()
=>
{
vm
=
createComponentWithStore
(
Component
,
store
,
{
type
,
path
:
''
,
}).
$mount
();
vm
.
entryName
=
'
testing
'
;
...
...
@@ -187,6 +188,7 @@ describe('new file modal component', () => {
vm
=
createComponentWithStore
(
Component
,
store
,
{
type
:
'
tree
'
,
path
:
''
,
}).
$mount
(
'
.js-test
'
);
expect
(
document
.
activeElement
).
toBe
(
vm
.
$refs
.
fieldName
);
...
...
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