BigW Consortium Gitlab

issue_spec.rb 353 Bytes
Newer Older
1 2
require 'spec_helper'

3
describe 'Discussion Comments Issue', :js do
4
  let(:user) { create(:user) }
5
  let(:project) { create(:project) }
6 7 8 9
  let(:issue) { create(:issue, project: project) }

  before do
    project.add_master(user)
10
    sign_in(user)
11

12
    visit project_issue_path(project, issue)
13 14 15 16
  end

  it_behaves_like 'discussion comments', 'issue'
end