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
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Fix deprecated use of implicit block syntax as expectation subject
Aaron Contrerasc85d2223369b
diff --git a/spec/lib/open_project/authentication/strategies/warden/global_basic_auth_spec.rb b/spec/lib/open_project/authentication/strategies/warden/global_basic_auth_spec.rbindex 9c0a288b4b0..c651a8ad45a 100644--- a/spec/lib/open_project/authentication/strategies/warden/global_basic_auth_spec.rb+++ b/spec/lib/open_project/authentication/strategies/warden/global_basic_auth_spec.rb@@ -48,7 +48,7 @@ RSpec.describe Strategies::GlobalBasicAuth doendit 'raises an error' do- expect(config).to raise_error("global user must not be 'schluessel'")+ expect(&config).to raise_error("global user must not be 'schluessel'")endend@@ -56,7 +56,7 @@ RSpec.describe Strategies::GlobalBasicAuth dolet(:password) { '' }it 'raises an error' do- expect(config).to raise_error('password must not be empty')+ expect(&config).to raise_error('password must not be empty')endend