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

Switch `users/my_spec` to cuprite

Aaron Contreras4b696f88fc45
diff --git a/spec/features/users/my_spec.rb b/spec/features/users/my_spec.rb
index 751daaf602b..52922c92a53 100644
--- a/spec/features/users/my_spec.rb
+++ b/spec/features/users/my_spec.rb
@@ -28,7 +28,7 @@
require 'spec_helper'
-RSpec.describe 'my', js: true do
+RSpec.describe 'my', js: true, with_cuprite: true do
let(:user_password) { 'bob' * 4 }
let(:user) do
create(:user,
@@ -53,7 +53,7 @@ RSpec.describe 'my', js: true do
end
before do
- login_as(user)
+ login_as user
# Create dangling session
session = Sessions::SqlBypass.new data: { user_id: user.id }, session_id: 'other'