Sha256: 468544ae2cf43e59fd359fae507fbd97946ca1886f1850bacc9a40e56cdf76cd

Contents?: true

Size: 337 Bytes

Versions: 2

Compression:

Stored size: 337 Bytes

Contents

shared_context 'circular dependencies', :files => :circular do

  before do
    file 'money.rb', <<-EOS
    # require power

    class Money
    end
    EOS

    file 'power.rb', <<-EOS
    # require respect

    class Power
    end
    EOS

    file 'respect.rb', <<-EOS
    # require money

    class Respect
    end
    EOS
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
codependency-0.3.1 spec/support/circular_context.rb
codependency-0.3.0 spec/support/circular_context.rb