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-5.6.5 spec/support/cleanup_records.rb
lhs-5.6.4 spec/support/cleanup_records.rb
lhs-5.6.3 spec/support/cleanup_records.rb
lhs-5.6.2 spec/support/cleanup_records.rb
lhs-5.6.1 spec/support/cleanup_records.rb
lhs-5.6.0 spec/support/cleanup_records.rb
lhs-5.5.0 spec/support/cleanup_records.rb
lhs-5.4.2 spec/support/cleanup_records.rb
lhs-5.4.1 spec/support/cleanup_records.rb
lhs-5.4.0 spec/support/cleanup_records.rb
lhs-5.3.0 spec/support/cleanup_records.rb
lhs-5.2.0 spec/support/cleanup_records.rb
lhs-5.1.0 spec/support/cleanup_records.rb
lhs-5.0.4 spec/support/cleanup_records.rb
lhs-5.0.3 spec/support/cleanup_records.rb
lhs-5.0.1 spec/support/cleanup_records.rb
lhs-5.0.0 spec/support/cleanup_records.rb
lhs-4.2.1 spec/support/cleanup_records.rb
lhs-4.2.0 spec/support/cleanup_records.rb
lhs-4.1.0 spec/support/cleanup_records.rb