merge_request_spec.rb 447 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 13 14 15 16

    visit namespace_project_merge_request_path(project.namespace, project, merge_request)
  end

  it_behaves_like 'discussion comments', 'merge request'
end