Commit 558f06f4 authored by Nick Thomas's avatar Nick Thomas

Fix a bug in spec/ee/spec/lib/gitlab/geo/file_transfer_spec.rb

parent 4983c8c7
...@@ -13,7 +13,7 @@ describe Gitlab::Geo::FileTransfer do ...@@ -13,7 +13,7 @@ describe Gitlab::Geo::FileTransfer do
expect(subject.file_id).to eq(upload.id) expect(subject.file_id).to eq(upload.id)
expect(subject.filename).to eq(AvatarUploader.absolute_path(upload)) expect(subject.filename).to eq(AvatarUploader.absolute_path(upload))
expect(Pathname.new(subject.filename).absolute?).to be_truthy expect(Pathname.new(subject.filename).absolute?).to be_truthy
expect(subject.request_data).to eq({ id: upload.id, expect(subject.request_data).to eq({ id: upload.model_id,
type: 'User', type: 'User',
checksum: upload.checksum }) checksum: upload.checksum })
end end
......
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