prevent journal aggregation in spec

pull/10886/head
ulferts 2 years ago
parent 5da326043d
commit c7ce4fb5ee
No known key found for this signature in database
GPG Key ID: A205708DE1284017
  1. 4
      modules/backlogs/spec/models/burndown_spec.rb

@ -28,7 +28,9 @@
require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
describe Burndown, type: :model do
describe Burndown,
type: :model,
with_settings: { journal_aggregation_time_minutes: 0 } do
def set_attribute_journalized(story, attribute, value, day)
story.reload
story.send(attribute, value)

Loading…
Cancel
Save