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
at_timestamp: adding missing time-entries attribute in specs
Sebastian Fiedlschuster0395d2a4804f
diff --git a/spec/models/journable/timestamps_spec.rb b/spec/models/journable/timestamps_spec.rbindex cb54d598368..ebe6d8c83e8 100644--- a/spec/models/journable/timestamps_spec.rb+++ b/spec/models/journable/timestamps_spec.rb@@ -206,7 +206,7 @@ describe Journable::Timestamps, type: :model dodescribe "when filtering on a column of an associated table" dobefore do- @time_entry = work_package.time_entries.create! user_id: User.first.id, hours: 1, activity_id: 1, project_id: create(:project).id, spent_on: @monday+ @time_entry = work_package.time_entries.create! user_id: User.first.id, hours: 1, activity_id: 1, project_id: create(:project).id, spent_on: @monday, logged_by_id: User.first.id@relation = WorkPackage.joins(:time_entries).where(time_entries: {id: @time_entry.id})enddescribe "when querying with at_timestamp" do