merge_request_spec.rb 408 Bytes
Newer Older
1 2
require 'spec_helper'

3
describe 'Discussion Comments Merge Request', :js do
4 5 6 7 8 9
  let(:user) { create(:user) }
  let(:project) { create(:project) }
  let(:merge_request) { create(:merge_request, source_project: project) }

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

12
    visit project_merge_request_path(project, merge_request)
13 14 15 16
  end

  it_behaves_like 'discussion comments', 'merge request'
end