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
0834e51e
Commit
0834e51e
authored
Sep 02, 2016
by
Valery Sizov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix spinach
parent
26338148
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
12 deletions
+4
-12
features/project/project.feature
features/project/project.feature
+0
-6
features/steps/project/project.rb
features/steps/project/project.rb
+4
-6
No files found.
features/project/project.feature
View file @
0834e51e
...
...
@@ -18,12 +18,6 @@ Feature: Project
Then
I should see the default project avatar
And
I should not see the
"Remove avatar"
button
@javascript
Scenario
:
I
disable issues
Given
I visit edit project
"Shop"
page
When
I disable project issues
Then
I should not see the issues settings
@javascript
Scenario
:
I
enable issues
Given
I visit edit project
"Shop"
page
...
...
features/steps/project/project.rb
View file @
0834e51e
...
...
@@ -15,8 +15,6 @@ class Spinach::Features::Project < Spinach::FeatureSteps
step
'I should see project with new settings'
do
expect
(
find_field
(
'project_name'
).
value
).
to
eq
'NewName'
expect
(
find
(
'#project_issues_enabled'
)).
not_to
be_checked
expect
(
find
(
'#project_merge_requests_enabled'
)).
to
be_checked
end
step
'change project path settings'
do
...
...
@@ -165,19 +163,19 @@ class Spinach::Features::Project < Spinach::FeatureSteps
end
step
'I enable project issues'
do
check
'project_issues_enabled
'
page
.
select
'Only team members'
,
:from
=>
'project_project_feature_attributes_issues_access_level
'
end
step
'I disable project issues'
do
uncheck
'project_issues_enabled
'
page
.
select
'Disabled'
,
:from
=>
'project_project_feature_attributes_issues_access_level
'
end
step
'I should not see the issues settings'
do
expect
(
find
(
'.issue
s
-feature'
)).
not_to
be_visible
expect
(
find
(
'.issue-feature'
)).
not_to
be_visible
end
step
'I should see the issues settings'
do
expect
(
find
(
'.issue
s
-feature'
)).
to
be_visible
expect
(
find
(
'.issue-feature'
)).
to
be_visible
end
step
'I create bare repo'
do
...
...
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