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 `types/activate_in_project_spec` to cuprite

Aaron Contreras8f0c904c0fe1
diff --git a/spec/features/types/activate_in_project_spec.rb b/spec/features/types/activate_in_project_spec.rb
index 812d38ff81f..be812702a39 100644
--- a/spec/features/types/activate_in_project_spec.rb
+++ b/spec/features/types/activate_in_project_spec.rb
@@ -29,7 +29,7 @@
require 'spec_helper'
require 'support/pages/custom_fields'
-RSpec.describe 'types', js: true do
+RSpec.describe 'types', js: true, with_cuprite: true do
let(:user) do
create(:user,
member_in_project: project,
@@ -42,7 +42,7 @@ RSpec.describe 'types', js: true do
let(:work_packages_page) { Pages::WorkPackagesTable.new(project) }
before do
- login_as(user)
+ login_as user
end
it 'is only visible in the project if it has been activated' do