Commit c28fb06b authored by Rémy Coutable's avatar Rémy Coutable

Remove legacy :disable_gitaly metadata in specs

Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent 04f6200d
...@@ -439,13 +439,13 @@ describe Projects::UpdateService, '#execute' do ...@@ -439,13 +439,13 @@ describe Projects::UpdateService, '#execute' do
FileUtils.rm_rf('tmp/tests/storage_b') FileUtils.rm_rf('tmp/tests/storage_b')
end end
it 'calls the change repository storage method if the storage changed', :disable_gitaly do it 'calls the change repository storage method if the storage changed' do
expect(project).to receive(:change_repository_storage).with('b') expect(project).to receive(:change_repository_storage).with('b')
update_project(project, admin_user, opts).inspect update_project(project, admin_user, opts).inspect
end end
it "doesn't call the change repository storage for non-admin users", :disable_gitaly do it "doesn't call the change repository storage for non-admin users" do
expect(project).not_to receive(:change_repository_storage) expect(project).not_to receive(:change_repository_storage)
update_project(project, user, opts).inspect 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