merge_request_spec.rb 418 Bytes
Newer Older
1 2 3 4 5 6 7 8 9
require 'spec_helper'

describe 'Discussion Comments Merge Request', :feature, :js do
  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