Updated

spec/support / after_commits.rb

A
13 lines of codes
0 methods
N/A complexity/method
1 churn
0.0 complexity
0 duplications
TestAfterCommit.enabled = false RSpec.configure do |config| config.around(:each) do |example| if example.metadata.key?(:with_commits) TestAfterCommit.with_commits(example.metadata[:with_commits]) do example.run end else example.run end end end