Commit e84a35ce authored by Lin Jen-Shin's avatar Lin Jen-Shin

Merge branch 'remove-disable_gitaly-specs' into 'master'

Remove legacy :disable_gitaly metadata in specs

Closes gitlab-ce#53605

See merge request gitlab-org/gitlab-ee!9376
parents d52b352b c28fb06b
...@@ -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