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
ce2e37d4
Commit
ce2e37d4
authored
Apr 01, 2016
by
Phil Hughes
Committed by
Jacob Schatz
Apr 16, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed tests
parent
6c949b2b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
7 deletions
+5
-7
issuable.rb
features/steps/shared/issuable.rb
+1
-1
move_spec.rb
spec/features/issues/move_spec.rb
+4
-6
No files found.
features/steps/shared/issuable.rb
View file @
ce2e37d4
...
...
@@ -2,7 +2,7 @@ module SharedIssuable
include
Spinach
::
DSL
def
edit_issuable
find
(
:css
,
'.issuable-edit'
).
click
find
(
'.issuable-edit'
,
visible:
true
).
click
end
step
'project "Community" has "Community issue" open issue'
do
...
...
spec/features/issues/move_spec.rb
View file @
ce2e37d4
...
...
@@ -42,11 +42,9 @@ feature 'issue move to another project' do
expect
(
current_url
).
to
include
project_path
(
new_project
)
page
.
within
(
'.issue'
)
do
expect
(
page
).
to
have_content
(
"Text with
#{
cross_reference
}
!1"
)
expect
(
page
).
to
have_content
(
"Moved from
#{
cross_reference
}
#1"
)
expect
(
page
).
to
have_content
(
issue
.
title
)
end
expect
(
page
).
to
have_content
(
"Text with
#{
cross_reference
}
!1"
)
expect
(
page
).
to
have_content
(
"Moved from
#{
cross_reference
}
#1"
)
expect
(
page
).
to
have_content
(
issue
.
title
)
end
context
'projects user does not have permission to move issue to exist'
do
...
...
@@ -74,7 +72,7 @@ feature 'issue move to another project' do
def
edit_issue
(
issue
)
visit
issue_path
(
issue
)
page
.
within
(
'.issuable-
header'
)
{
click_link
'Edit'
}
page
.
within
(
'.issuable-
actions'
)
{
find
(
'.issuable-edit'
).
click
}
end
def
issue_path
(
issue
)
...
...
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