Commit 253e23d7 authored by Patrick Steinhardt's avatar Patrick Steinhardt

gitaly_client: Fix intermixed tests for UserSquash and UserCommitFiles

Tests for the UserCommitFiles RPC are currently part of the tests for
UserSquash. This seems to be unintentional and doesn't make a whole lot
of sense.

Move out tests for UserCommitFiles into its own standalone context.
parent b14e50a9
......@@ -436,6 +436,7 @@ RSpec.describe Gitlab::GitalyClient::OperationService do
Gitlab::Git::Repository::GitError, "something failed")
end
end
end
describe '#user_commit_files' do
subject do
......@@ -472,7 +473,6 @@ RSpec.describe Gitlab::GitalyClient::OperationService do
it { expect(subject).to be_nil }
end
end
end
describe '#user_commit_patches' do
let(:patches_folder) { Rails.root.join('spec/fixtures/patchfiles') }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment