diff options
Diffstat (limited to 'spec/support/counter_attribute.rb')
-rw-r--r-- | spec/support/counter_attribute.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/counter_attribute.rb b/spec/support/counter_attribute.rb index 18db5c92644..44df2df0ea5 100644 --- a/spec/support/counter_attribute.rb +++ b/spec/support/counter_attribute.rb @@ -15,7 +15,7 @@ RSpec.configure do |config| attr_accessor :flushed, :allow_package_size_counter - counter_attribute_after_flush do |subject| + counter_attribute_after_commit do |subject| subject.flushed = true end end |