summaryrefslogtreecommitdiff
path: root/spec/javascripts/fixtures/issues.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/javascripts/fixtures/issues.rb')
-rw-r--r--spec/javascripts/fixtures/issues.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/spec/javascripts/fixtures/issues.rb b/spec/javascripts/fixtures/issues.rb
index 2ac37ac70b6..d8d77f767de 100644
--- a/spec/javascripts/fixtures/issues.rb
+++ b/spec/javascripts/fixtures/issues.rb
@@ -22,22 +22,22 @@ describe Projects::IssuesController, '(JavaScript fixtures)', type: :controller
end
it 'issues/open-issue.html' do
- render_issue(example.description, create(:issue, project: project))
+ render_issue(create(:issue, project: project))
end
it 'issues/closed-issue.html' do
- render_issue(example.description, create(:closed_issue, project: project))
+ render_issue(create(:closed_issue, project: project))
end
it 'issues/issue-with-task-list.html' do
issue = create(:issue, project: project, description: '- [ ] Task List Item')
- render_issue(example.description, issue)
+ render_issue(issue)
end
it 'issues/issue_with_comment.html' do
issue = create(:issue, project: project)
create(:note, project: project, noteable: issue, note: '- [ ] Task List Item').save
- render_issue(example.description, issue)
+ render_issue(issue)
end
it 'issues/issue_list.html' do
@@ -53,7 +53,7 @@ describe Projects::IssuesController, '(JavaScript fixtures)', type: :controller
private
- def render_issue(fixture_file_name, issue)
+ def render_issue(issue)
get :show, params: {
namespace_id: project.namespace.to_param,
project_id: project,