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
22479fd0
Commit
22479fd0
authored
Apr 01, 2016
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove tests with back button
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
de6360f9
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
0 additions
and
25 deletions
+0
-25
features/groups.feature
features/groups.feature
+0
-4
features/project/project.feature
features/project/project.feature
+0
-9
features/steps/groups.rb
features/steps/groups.rb
+0
-4
features/steps/project/project.rb
features/steps/project/project.rb
+0
-8
No files found.
features/groups.feature
View file @
22479fd0
...
@@ -7,10 +7,6 @@ Feature: Groups
...
@@ -7,10 +7,6 @@ Feature: Groups
When
I visit group
"NonExistentGroup"
page
When
I visit group
"NonExistentGroup"
page
Then
page status code should be 404
Then
page status code should be 404
Scenario
:
I
should have back to group button
When
I visit group
"Owned"
page
Then
I should see back to dashboard button
@javascript
@javascript
Scenario
:
I
should see group
"Owned"
dashboard list
Scenario
:
I
should see group
"Owned"
dashboard list
When
I visit group
"Owned"
page
When
I visit group
"Owned"
page
...
...
features/project/project.feature
View file @
22479fd0
...
@@ -18,15 +18,6 @@ Feature: Project
...
@@ -18,15 +18,6 @@ Feature: Project
Then
I should see the default project avatar
Then
I should see the default project avatar
And
I should not see the
"Remove avatar"
button
And
I should not see the
"Remove avatar"
button
Scenario
:
I
should have back to group button
And
project
"Shop"
belongs to group
And
I visit project
"Shop"
page
Then
I should see back to group button
Scenario
:
I
should have back to group button
And
I visit project
"Shop"
page
Then
I should see back to dashboard button
Scenario
:
I
should have readme on page
Scenario
:
I
should have readme on page
And
I visit project
"Shop"
page
And
I visit project
"Shop"
page
Then
I should see project
"Shop"
README
Then
I should see project
"Shop"
README
...
...
features/steps/groups.rb
View file @
22479fd0
...
@@ -4,10 +4,6 @@ class Spinach::Features::Groups < Spinach::FeatureSteps
...
@@ -4,10 +4,6 @@ class Spinach::Features::Groups < Spinach::FeatureSteps
include
SharedGroup
include
SharedGroup
include
SharedUser
include
SharedUser
step
'I should see back to dashboard button'
do
expect
(
page
).
to
have_content
'Go to dashboard'
end
step
'I should see group "Owned"'
do
step
'I should see group "Owned"'
do
expect
(
page
).
to
have_content
'@owned'
expect
(
page
).
to
have_content
'@owned'
end
end
...
...
features/steps/project/project.rb
View file @
22479fd0
...
@@ -123,14 +123,6 @@ class Spinach::Features::Project < Spinach::FeatureSteps
...
@@ -123,14 +123,6 @@ class Spinach::Features::Project < Spinach::FeatureSteps
@project
.
save!
@project
.
save!
end
end
step
'I should see back to dashboard button'
do
expect
(
page
).
to
have_content
'Go to dashboard'
end
step
'I should see back to group button'
do
expect
(
page
).
to
have_content
'Go to group'
end
step
'I click notifications drop down button'
do
step
'I click notifications drop down button'
do
click_link
'notifications-button'
click_link
'notifications-button'
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