Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'spec/controllers/import/github_controller_spec.rb')
-rw-r--r--spec/controllers/import/github_controller_spec.rb13
1 files changed, 0 insertions, 13 deletions
diff --git a/spec/controllers/import/github_controller_spec.rb b/spec/controllers/import/github_controller_spec.rb
index ef66124bff1..56e55c45e66 100644
--- a/spec/controllers/import/github_controller_spec.rb
+++ b/spec/controllers/import/github_controller_spec.rb
@@ -96,19 +96,6 @@ RSpec.describe Import::GithubController do
describe "POST personal_access_token" do
it_behaves_like 'a GitHub-ish import controller: POST personal_access_token'
-
- it 'passes namespace_id param as query param if it was present' do
- namespace_id = 5
- status_import_url = public_send("status_import_#{provider}_url", { namespace_id: namespace_id })
-
- allow_next_instance_of(Gitlab::LegacyGithubImport::Client) do |client|
- allow(client).to receive(:user).and_return(true)
- end
-
- post :personal_access_token, params: { personal_access_token: 'some-token', namespace_id: 5 }
-
- expect(controller).to redirect_to(status_import_url)
- end
end
describe "GET status" do