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
90899b32
Commit
90899b32
authored
Dec 03, 2015
by
Douwe Maan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix specs
parent
0520cd71
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
features/steps/project/forked_merge_requests.rb
features/steps/project/forked_merge_requests.rb
+1
-1
features/steps/project/issues/labels.rb
features/steps/project/issues/labels.rb
+4
-4
No files found.
features/steps/project/forked_merge_requests.rb
View file @
90899b32
...
@@ -46,7 +46,7 @@ class Spinach::Features::ProjectForkedMergeRequests < Spinach::FeatureSteps
...
@@ -46,7 +46,7 @@ class Spinach::Features::ProjectForkedMergeRequests < Spinach::FeatureSteps
end
end
step
'I submit the merge request'
do
step
'I submit the merge request'
do
click_button
"Submit
new
merge request"
click_button
"Submit merge request"
end
end
step
'I follow the target commit link'
do
step
'I follow the target commit link'
do
...
...
features/steps/project/issues/labels.rb
View file @
90899b32
...
@@ -31,19 +31,19 @@ class Spinach::Features::ProjectIssuesLabels < Spinach::FeatureSteps
...
@@ -31,19 +31,19 @@ class Spinach::Features::ProjectIssuesLabels < Spinach::FeatureSteps
step
'I submit new label \'support\''
do
step
'I submit new label \'support\''
do
fill_in
'Title'
,
with:
'support'
fill_in
'Title'
,
with:
'support'
fill_in
'Background
C
olor'
,
with:
'#F95610'
fill_in
'Background
c
olor'
,
with:
'#F95610'
click_button
'Save'
click_button
'Save'
end
end
step
'I submit new label \'bug\''
do
step
'I submit new label \'bug\''
do
fill_in
'Title'
,
with:
'bug'
fill_in
'Title'
,
with:
'bug'
fill_in
'Background
C
olor'
,
with:
'#F95610'
fill_in
'Background
c
olor'
,
with:
'#F95610'
click_button
'Save'
click_button
'Save'
end
end
step
'I submit new label with invalid color'
do
step
'I submit new label with invalid color'
do
fill_in
'Title'
,
with:
'support'
fill_in
'Title'
,
with:
'support'
fill_in
'Background
C
olor'
,
with:
'#12'
fill_in
'Background
c
olor'
,
with:
'#12'
click_button
'Save'
click_button
'Save'
end
end
...
@@ -85,7 +85,7 @@ class Spinach::Features::ProjectIssuesLabels < Spinach::FeatureSteps
...
@@ -85,7 +85,7 @@ class Spinach::Features::ProjectIssuesLabels < Spinach::FeatureSteps
step
'I change label \'bug\' to \'fix\''
do
step
'I change label \'bug\' to \'fix\''
do
fill_in
'Title'
,
with:
'fix'
fill_in
'Title'
,
with:
'fix'
fill_in
'Background
C
olor'
,
with:
'#F15610'
fill_in
'Background
c
olor'
,
with:
'#F15610'
click_button
'Save'
click_button
'Save'
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