2017-04-12 07:30:28 -04: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 19:44:10 -04:00
|
|
|
sign_in(user)
|
2017-04-12 07:30:28 -04:00
|
|
|
|
2017-07-06 12:20:50 -04:00
|
|
|
visit project_issue_path(project, issue)
|
2017-04-12 07:30:28 -04:00
|
|
|
end
|
|
|
|
|
|
|
|
it_behaves_like 'discussion comments', 'issue'
|
|
|
|
end
|