summaryrefslogtreecommitdiff
path: root/spec/lib/gitlab/diff/file_collection/commit_spec.rb
blob: 6d1b66deb6a060d5bba34d6eec143f0dbfbea912 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# frozen_string_literal: true

require 'spec_helper'

describe Gitlab::Diff::FileCollection::Commit do
  let(:project) { create(:project, :repository) }

  it_behaves_like 'diff statistics' do
    let(:collection_default_args) do
      { diff_options: {} }
    end
    let(:diffable) { project.commit }
    let(:stub_path) { 'bar/branch-test.txt' }
  end
end