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

Keep overrides in omniauth_spec

Oliver Güntherc3fc42a43ea2
diff --git a/spec/features/auth/omniauth_spec.rb b/spec/features/auth/omniauth_spec.rb
index 2a9bd4c1ae6..edeba26d312 100644
--- a/spec/features/auth/omniauth_spec.rb
+++ b/spec/features/auth/omniauth_spec.rb
@@ -35,9 +35,9 @@ describe 'Omniauth authentication', type: :feature do
def self.default_url_options
host =
if Capybara.app_host
- Capybara.app_host.sub(/https?\/\//, "")
+ Capybara.app_host.sub(/https?\/\//, '')
else
- 'http://www.example.com'
+ 'www.example.com'
end
{ host: }