Sha256: 05670b4666b247699bcf43824ed0f0d87433d232c7c9b6b5b3cdf26dda9e331d

Contents?: true

Size: 326 Bytes

Versions: 61

Compression:

Stored size: 326 Bytes

Contents

class LHS::Record

  CHILDREN = []

  def self.inherited(child)
    CHILDREN.push(child)
    super
  end

end

RSpec.configure do |config|
  config.before(:each) do
    LHS::Record::CHILDREN.each do |child|
      child.endpoints = [] if !child.name['LHS']
      child.configuration({}) if !child.name['LHS']
    end
  end
end

Version data entries

61 entries across 61 versions & 1 rubygems

Version Path
lhs-9.1.0 spec/support/cleanup_records.rb
lhs-9.0.4 spec/support/cleanup_records.rb
lhs-9.0.3 spec/support/cleanup_records.rb
lhs-9.0.2 spec/support/cleanup_records.rb
lhs-9.0.1 spec/support/cleanup_records.rb
lhs-9.0.0 spec/support/cleanup_records.rb
lhs-8.0.0 spec/support/cleanup_records.rb
lhs-7.4.1 spec/support/cleanup_records.rb
lhs-7.4.0 spec/support/cleanup_records.rb
lhs-7.3.0 spec/support/cleanup_records.rb
lhs-7.2.5 spec/support/cleanup_records.rb
lhs-7.2.4 spec/support/cleanup_records.rb
lhs-7.2.3 spec/support/cleanup_records.rb
lhs-7.2.2 spec/support/cleanup_records.rb
lhs-7.2.1 spec/support/cleanup_records.rb
lhs-7.2.0 spec/support/cleanup_records.rb
lhs-7.1.0 spec/support/cleanup_records.rb
lhs-7.0.3 spec/support/cleanup_records.rb
lhs-7.0.2 spec/support/cleanup_records.rb
lhs-7.0.1 spec/support/cleanup_records.rb