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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gitlab-ce
Commits
47d9732a
Commit
47d9732a
authored
Oct 12, 2012
by
Valeriy Sizov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
WebEditor: minor spinach fixes
parent
2a78ae60
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
features/project/source/browse_files.feature
features/project/source/browse_files.feature
+1
-1
features/steps/project/project_browse_files.rb
features/steps/project/project_browse_files.rb
+1
-1
No files found.
features/project/source/browse_files.feature
View file @
47d9732a
...
@@ -24,4 +24,4 @@ Feature: Project Browse files
...
@@ -24,4 +24,4 @@ Feature: Project Browse files
Scenario
:
I
can edit file
Scenario
:
I
can edit file
Given
I click on
"Gemfile"
file in repo
Given
I click on
"Gemfile"
file in repo
And
I click button
"Edit"
And
I click button
"Edit"
Then
I can edit
fil
e
Then
I can edit
cod
e
features/steps/project/project_browse_files.rb
View file @
47d9732a
...
@@ -36,7 +36,7 @@ class ProjectBrowseFiles < Spinach::FeatureSteps
...
@@ -36,7 +36,7 @@ class ProjectBrowseFiles < Spinach::FeatureSteps
click_link
'Edit'
click_link
'Edit'
end
end
Given
'I can edit fil
e'
do
Then
'I can edit cod
e'
do
page
.
execute_script
(
'editor.setValue("GitlabFileEditor")'
)
page
.
execute_script
(
'editor.setValue("GitlabFileEditor")'
)
page
.
evaluate_script
(
'editor.getValue()'
).
should
==
"GitlabFileEditor"
page
.
evaluate_script
(
'editor.getValue()'
).
should
==
"GitlabFileEditor"
end
end
...
...
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