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
force evaluation of AR::Scope
ulfertsbd96022925f9
diff --git a/spec/models/timestamp_spec.rb b/spec/models/timestamp_spec.rbindex 758d96ce941..92301c8face 100644--- a/spec/models/timestamp_spec.rb+++ b/spec/models/timestamp_spec.rb@@ -649,14 +649,14 @@ RSpec.describe Timestamp dolet(:timestamp) { described_class.new("PT10S") }it "raises an error because the query interface requires a Time type" do- expect { subject }.to raise_error TypeError+ expect { subject.to_a }.to raise_error TypeErrorenddescribe "when converting the timestamp to_time" dosubject { Query.where("updated_at < ?", timestamp.to_time) }it "raises no error" do- expect { subject }.not_to raise_error+ expect { subject.to_a }.not_to raise_errorendendend