module TestAfterCommit
disable parts of the sync code that starts looping
Constants
- VERSION
Attributes
enabled[RW]
Public Class Methods
with_commits(value = true) { || ... }
click to toggle source
# File lib/test_after_commit.rb, line 20 def with_commits(value = true) old = enabled self.enabled = value yield ensure self.enabled = old end