summaryrefslogtreecommitdiff
path: root/spec/lib/gitlab/import_export/avatar_restorer_spec.rb
diff options
context:
space:
mode:
authorJames Lopez <james@jameslopez.es>2016-07-19 14:31:22 +0200
committerJames Lopez <james@jameslopez.es>2016-07-19 14:31:22 +0200
commitf85b78c1e996431c52bba185641d1b426580c3ad (patch)
tree5bbc91648568bec4157872c4dc3b924cac080328 /spec/lib/gitlab/import_export/avatar_restorer_spec.rb
parent76771c294694bb7bae02778c30ad3c4aff27b782 (diff)
downloadgitlab-ce-f85b78c1e996431c52bba185641d1b426580c3ad.tar.gz
fix spec
Diffstat (limited to 'spec/lib/gitlab/import_export/avatar_restorer_spec.rb')
-rw-r--r--spec/lib/gitlab/import_export/avatar_restorer_spec.rb2
1 files changed, 1 insertions, 1 deletions
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