Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-12-22 15:07:22 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-12-22 15:07:22 +0300
commita59aa00d8aeea39a6360d9be12ffee564802c63c (patch)
tree646e082ab91d6db35f1e3e744d1f202e77cbc36e /spec/features/commit_spec.rb
parent58e69d174512e267079ebb6afc60dd097070bf35 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/features/commit_spec.rb')
-rw-r--r--spec/features/commit_spec.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/features/commit_spec.rb b/spec/features/commit_spec.rb
index 649b67e7fd0..a9672569a4a 100644
--- a/spec/features/commit_spec.rb
+++ b/spec/features/commit_spec.rb
@@ -22,6 +22,8 @@ RSpec.describe 'Commit', feature_category: :source_code_management do
end
describe "commit details" do
+ subject { page }
+
before do
visit project_commit_path(project, commit)
end
@@ -37,6 +39,8 @@ RSpec.describe 'Commit', feature_category: :source_code_management do
it 'renders diff stats', :js do
expect(page).to have_selector(".diff-stats")
end
+
+ it_behaves_like 'code highlight'
end
describe "pagination" do