Sha256: abe4f1c45d2650f2ed68c5223387a83436746fa85b8200aa8ab1cf4fce8784f7

Contents?: true

Size: 287 Bytes

Versions: 20

Compression:

Stored size: 287 Bytes

Contents

class LHS::Service

  CHILDREN = []

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

end


RSpec.configure do |config|

  config.before(:each) do
    LHS::Service::CHILDREN.each do |child|
      child.instance.endpoints = [] if !child.name['LHS']
    end
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
lhs-1.6.1 spec/support/cleanup_services.rb
lhs-1.6.0 spec/support/cleanup_services.rb
lhs-2.0.5 spec/support/cleanup_services.rb
lhs-2.0.4 spec/support/cleanup_services.rb
lhs-2.0.3 spec/support/cleanup_services.rb
lhs-2.0.2 spec/support/cleanup_services.rb
lhs-2.0.1 spec/support/cleanup_services.rb
lhs-2.0.0 spec/support/cleanup_services.rb
lhs-1.5.0 spec/support/cleanup_services.rb
lhs-1.4.0 spec/support/cleanup_services.rb
lhs-1.3.1 spec/support/cleanup_services.rb
lhs-1.3.0 spec/support/cleanup_services.rb
lhs-1.2.3 spec/support/cleanup_services.rb
lhs-1.2.2 spec/support/cleanup_services.rb
lhs-1.2.1 spec/support/cleanup_services.rb
lhs-1.2.0 spec/support/cleanup_services.rb
lhs-1.1.0 spec/support/cleanup_services.rb
lhs-1.0.0 spec/support/cleanup_services.rb
lhs-0.4.0 spec/support/cleanup_services.rb
lhs-0.3.0 spec/support/cleanup_services.rb