Commit 02bc3cd1 authored by Kim "BKC" Carlbäcker's avatar Kim "BKC" Carlbäcker

more disable_gitaly fixes

parent fc01042f
......@@ -219,13 +219,13 @@ describe Projects::UpdateService, '#execute' do
FileUtils.rm_rf('tmp/tests/storage_b')
end
it 'calls the change repository storage method if the storage changed', :skip_gitaly_mock do
it 'calls the change repository storage method if the storage changed', :disable_gitaly do
expect(project).to receive(:change_repository_storage).with('b')
update_project(project, admin_user, opts).inspect
end
it "doesn't call the change repository storage for non-admin users", :skip_gitaly_mock do
it "doesn't call the change repository storage for non-admin users", :disable_gitaly do
expect(project).not_to receive(:change_repository_storage)
update_project(project, user, opts).inspect
......
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