2017-04-12 11:30:28 +00:00
|
|
|
require 'spec_helper'
|
|
|
|
|
|
|
|
describe 'Discussion Comments Issue', :feature, :js do
|
|
|
|
let(:user) { create(:user) }
|
|
|
|
let(:project) { create(:empty_project) }
|
|
|
|
let(:issue) { create(:issue, project: project) }
|
|
|
|
|
|
|
|
before do
|
|
|
|
project.add_master(user)
|
2017-06-21 23:44:10 +00:00
|
|
|
sign_in(user)
|
2017-04-12 11:30:28 +00:00
|
|
|
|
2017-07-06 16:20:50 +00:00
|
|
|
visit project_issue_path(project, issue)
|
2017-04-12 11:30:28 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
it_behaves_like 'discussion comments', 'issue'
|
|
|
|
end
|