Sha256: a2f7e19024e77b23111971a8f11673d64f51d1b1fd20012e39b9f7259cf0e4ab

Contents?: true

Size: 176 Bytes

Versions: 23

Compression:

Stored size: 176 Bytes

Contents

module Test
  def self.remove_constants
    constants.each(&method(:remove_const))
  end
end

RSpec.configure do |config|
  config.after do
    Test.remove_constants
  end
end

Version data entries

23 entries across 23 versions & 3 rubygems

Version Path
dry-transaction-0.13.0 spec/support/test_module_constants.rb
dry-transaction-0.12.1 spec/support/test_module_constants.rb
dry-transaction-0.12.0 spec/support/test_module_constants.rb
dry-transaction-0.11.2 spec/support/test_module_constants.rb
dry-transaction-0.11.1 spec/support/test_module_constants.rb
dry-transaction-0.11.0 spec/support/test_module_constants.rb
dry-transaction-0.10.2 spec/support/test_module_constants.rb
dry-transaction-0.10.1 spec/support/test_module_constants.rb
dry-transaction-0.10.0 spec/support/test_module_constants.rb
dry-transaction-0.9.0 spec/support/test_module_constants.rb
dry-transaction-0.8.0 spec/support/test_module_constants.rb
dry-transaction-0.7.0 spec/support/test_module_constants.rb
formalist-0.3.0 spec/support/constants.rb
formalist-0.2.3 spec/support/constants.rb
dry-transaction-0.6.0 spec/support/test_module_constants.rb
dry-transaction-0.5.0 spec/support/test_module_constants.rb
dry-transaction-0.4.0 spec/support/test_module_constants.rb
call_sheet-0.4.0 spec/support/test_module_constants.rb
call_sheet-0.3.2 spec/support/test_module_constants.rb
call_sheet-0.3.1 spec/support/test_module_constants.rb