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
ee63415c
Commit
ee63415c
authored
Feb 15, 2017
by
Annabel Dunstone Gray
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Delete labels spinach test bc covered by rspec
parent
f1710bd1
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
47 deletions
+0
-47
features/project/labels.feature
features/project/labels.feature
+0
-15
features/steps/project/labels.rb
features/steps/project/labels.rb
+0
-32
No files found.
features/project/labels.feature
deleted
100644 → 0
View file @
f1710bd1
@labels
Feature
:
Labels
Background
:
Given
I sign in as a user
And
I own project
"Shop"
And project "Shop" has labels
:
"bug",
"feature",
"enhancement"
When
I visit project
"Shop"
labels page
@javascript
Scenario
:
I
can subscribe to a label
Then
I should see that I am not subscribed to the
"bug"
label
When
I click button
"Subscribe"
for the
"bug"
label
Then
I should see that I am subscribed to the
"bug"
label
When
I click button
"Unsubscribe"
for the
"bug"
label
Then
I should see that I am not subscribed to the
"bug"
label
features/steps/project/labels.rb
deleted
100644 → 0
View file @
f1710bd1
class
Spinach::Features::Labels
<
Spinach
::
FeatureSteps
include
SharedAuthentication
include
SharedIssuable
include
SharedProject
include
SharedPaths
step
'And I visit project "Shop" labels page'
do
visit
namespace_project_labels_path
(
project
.
namespace
,
project
)
end
step
'I should see that I am subscribed to the "bug" label'
do
expect
(
subscribe_button
).
to
have_content
'Unsubscribe'
end
step
'I should see that I am not subscribed to the "bug" label'
do
expect
(
subscribe_button
).
to
have_content
'Subscribe'
end
step
'I click button "Unsubscribe" for the "bug" label'
do
subscribe_button
.
click
end
step
'I click button "Subscribe" for the "bug" label'
do
subscribe_button
.
click
end
private
def
subscribe_button
first
(
'.js-subscribe-button'
,
visible:
true
)
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