BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
9b5b334a
Commit
9b5b334a
authored
Jan 26, 2015
by
Marin Jankovski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unused feature steps.
parent
4641514c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
50 deletions
+0
-50
edit_issuetracker.feature
features/project/edit_issuetracker.feature
+0
-18
issue_tracker.rb
features/steps/project/issue_tracker.rb
+0
-31
reference_extractor_spec.rb
spec/lib/gitlab/reference_extractor_spec.rb
+0
-1
No files found.
features/project/edit_issuetracker.feature
deleted
100644 → 0
View file @
4641514c
Feature
:
Project Issue Tracker
Background
:
Given
I sign in as a user
And
I own project
"Shop"
And
project
"Shop"
has issues enabled
And
I visit project
"Shop"
page
Scenario
:
I
set the issue tracker to
"GitLab"
When
I visit edit project
"Shop"
page
And
change the issue tracker to
"GitLab"
And
I save project
Then
I the project should have
"GitLab"
as issue tracker
Scenario
:
I
set the issue tracker to
"Redmine"
When
I visit edit project
"Shop"
page
And
change the issue tracker to
"Redmine"
And
I save project
Then
I the project should have
"Redmine"
as issue tracker
features/steps/project/issue_tracker.rb
deleted
100644 → 0
View file @
4641514c
class
Spinach
::
Features
::
ProjectIssueTracker
<
Spinach
::
FeatureSteps
include
SharedAuthentication
include
SharedProject
include
SharedPaths
step
'project "Shop" has issues enabled'
do
@project
=
Project
.
find_by
(
name:
"Shop"
)
@project
||=
create
(
:project
,
name:
"Shop"
,
namespace:
@user
.
namespace
)
@project
.
issues_enabled
=
true
end
step
'change the issue tracker to "GitLab"'
do
select
'GitLab'
,
from:
'project_issues_tracker'
end
step
'I the project should have "GitLab" as issue tracker'
do
find_field
(
'project_issues_tracker'
).
value
.
should
==
'gitlab'
end
step
'change the issue tracker to "Redmine"'
do
select
'Redmine'
,
from:
'project_issues_tracker'
end
step
'I the project should have "Redmine" as issue tracker'
do
find_field
(
'project_issues_tracker'
).
value
.
should
==
'redmine'
end
step
'I save project'
do
click_button
'Save changes'
end
end
spec/lib/gitlab/reference_extractor_spec.rb
View file @
9b5b334a
...
...
@@ -12,7 +12,6 @@ describe Gitlab::ReferenceExtractor do
end
it
'extracts JIRA issue references'
do
Gitlab
.
config
.
gitlab
.
stub
(
:issues_tracker
).
and_return
(
'jira'
)
subject
.
analyze
(
'this one talks about issue JIRA-1234'
,
nil
)
subject
.
issues
.
should
==
[{
project:
nil
,
id:
'JIRA-1234'
}]
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