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
Tatuya Kamada
gitlab-ce
Commits
ee63415c
Commit
ee63415c
authored
8 years ago
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
This diff is collapsed.
Click to expand it.
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
This diff is collapsed.
Click to expand it.
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