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
Remove unnecessary specs from Project model spec
Aaron Contreras5d760a2d14ad
diff --git a/spec/models/project_spec.rb b/spec/models/project_spec.rbindex 7481767c398..dc5b1538c39 100644--- a/spec/models/project_spec.rb+++ b/spec/models/project_spec.rb@@ -154,28 +154,6 @@ describe Project doendend- describe 'status' do- let(:status) { build_stubbed(:project_status) }- let(:stubbed_project) do- build_stubbed(:project,- status:)- end-- it 'has a status' do- expect(stubbed_project.status)- .to eql status- end-- it 'is destroyed along with the project' do- status = project.create_status explanation: 'some description'-- project.destroy!-- expect(Projects::Status.where(id: status.id))- .not_to exist- end- end-describe 'name' dolet(:name) { ' Hello World ' }let(:project) { described_class.new attributes_for(:project, name:) }