Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Remove superfluous puffing-billy code in oauth

Oliver Günther1af8bc849de6
diff --git a/spec/features/oauth/authorization_code_flow_spec.rb b/spec/features/oauth/authorization_code_flow_spec.rb
index 9d0a69abb76..bab6182ebaa 100644
--- a/spec/features/oauth/authorization_code_flow_spec.rb
+++ b/spec/features/oauth/authorization_code_flow_spec.rb
@@ -41,22 +41,6 @@ describe 'OAuth authorization code flow',
"/oauth/authorize?response_type=code&client_id=#{client_id}&redirect_uri=#{CGI.escape(redirect_url)}&scope=api_v3"
end
- before do
- @record_requests = Billy.config.record_requests
- @whitelist = Billy.config.whitelist
- Billy.configure do |c|
- c.record_requests = true
- c.whitelist = []
- end
- end
-
- after do
- Billy.configure do |c|
- c.record_requests = @record_requests
- c.whitelist = @whitelist
- end
- end
-
it 'can authorize and manage an OAuth application grant' do
visit oauth_path app.uid, redirect_uri