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
b2297064
Commit
b2297064
authored
May 22, 2017
by
winh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add frontend fixture for issue list
parent
67e5235e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
spec/javascripts/fixtures/issues.rb
spec/javascripts/fixtures/issues.rb
+11
-0
No files found.
spec/javascripts/fixtures/issues.rb
View file @
b2297064
...
@@ -36,6 +36,17 @@ describe Projects::IssuesController, '(JavaScript fixtures)', type: :controller
...
@@ -36,6 +36,17 @@ describe Projects::IssuesController, '(JavaScript fixtures)', type: :controller
render_issue
(
example
.
description
,
issue
)
render_issue
(
example
.
description
,
issue
)
end
end
it
'issues/issue_list.html.raw'
do
|
example
|
create
(
:issue
,
project:
project
)
get
:index
,
namespace_id:
project
.
namespace
.
to_param
,
project_id:
project
expect
(
response
).
to
be_success
store_frontend_fixture
(
response
,
example
.
description
)
end
private
private
def
render_issue
(
fixture_file_name
,
issue
)
def
render_issue
(
fixture_file_name
,
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