debian-mirror-gitlab/spec/features/discussion_comments/commit_spec.rb

19 lines
430 B
Ruby
Raw Normal View History

2017-08-17 22:00:37 +05:30
require 'spec_helper'
2018-03-17 18:26:18 +05:30
describe 'Discussion Comments Commit', :js do
2017-08-17 22:00:37 +05:30
include RepoHelpers
let(:user) { create(:user) }
2017-09-10 17:25:29 +05:30
let(:project) { create(:project, :repository) }
2017-08-17 22:00:37 +05:30
let(:merge_request) { create(:merge_request, source_project: project) }
before do
2018-11-18 11:00:15 +05:30
project.add_maintainer(user)
2017-09-10 17:25:29 +05:30
sign_in(user)
2017-08-17 22:00:37 +05:30
2017-09-10 17:25:29 +05:30
visit project_commit_path(project, sample_commit.id)
2017-08-17 22:00:37 +05:30
end
it_behaves_like 'discussion comments', 'commit'
end