From f85b78c1e996431c52bba185641d1b426580c3ad Mon Sep 17 00:00:00 2001 From: James Lopez Date: Tue, 19 Jul 2016 14:31:22 +0200 Subject: fix spec --- spec/lib/gitlab/import_export/avatar_restorer_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'spec/lib/gitlab/import_export/avatar_restorer_spec.rb') diff --git a/spec/lib/gitlab/import_export/avatar_restorer_spec.rb b/spec/lib/gitlab/import_export/avatar_restorer_spec.rb index 15131c0653e..5ae178414cc 100644 --- a/spec/lib/gitlab/import_export/avatar_restorer_spec.rb +++ b/spec/lib/gitlab/import_export/avatar_restorer_spec.rb @@ -5,7 +5,7 @@ describe Gitlab::ImportExport::AvatarRestorer, lib: true do let(:project) { create(:empty_project) } before do - allow_any_instance_of(described_class).to receive(:avatar_export_path) + allow_any_instance_of(described_class).to receive(:avatar_export_file) .and_return(Rails.root + "spec/fixtures/dk.png") end -- cgit v1.2.1