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

Chore: Use query matcher

Aaron Contrerasddb420b82e9f
diff --git a/spec/controllers/account_controller_spec.rb b/spec/controllers/account_controller_spec.rb
index aece550f4d8..88af9cb337e 100644
--- a/spec/controllers/account_controller_spec.rb
+++ b/spec/controllers/account_controller_spec.rb
@@ -418,7 +418,7 @@ RSpec.describe AccountController,
end
it 'does not login the user' do
- expect(controller.send(:current_user).anonymous?).to be_truthy
+ expect(controller.send(:current_user)).to be_anonymous
end
end