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
Changed condition 404 -> 200
Oliver Günther25bf47039e09
diff --git a/spec/components/users/profile/attributes_component_spec.rb b/spec/components/users/profile/attributes_component_spec.rbindex 8195719d7c0..643ff5472a7 100644--- a/spec/components/users/profile/attributes_component_spec.rb+++ b/spec/components/users/profile/attributes_component_spec.rb@@ -73,7 +73,7 @@ RSpec.describe Users::Profile::AttributesComponent, type: :component dodescribe "Custom fields" dolet(:custom_field) { create(:user_custom_field, :string, visible:) }let(:user) { build_stubbed(:user, custom_values: [build(:custom_value, custom_field:, value: "Hello custom field")]) }-+current_user { build(:admin) }before dodiff --git a/spec/controllers/users_controller_spec.rb b/spec/controllers/users_controller_spec.rbindex 30719976b88..5ecbba1e783 100644--- a/spec/controllers/users_controller_spec.rb+++ b/spec/controllers/users_controller_spec.rb@@ -890,9 +890,9 @@ RSpec.describe UsersController doendcontext "when not login_required", with_settings: { login_required: false } do- it "responds with 404" do+ it "responds with 200" doexpect(response)- .to have_http_status(:not_found)+ .to have_http_status(:ok)endend