Sha256: caaece4a6df77ab34a4e9e045075fc3c87e8cab0bde6d3a7b13778d2105f86c7

Contents?: true

Size: 343 Bytes

Versions: 1

Compression:

Stored size: 343 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

1 entries across 1 versions & 1 rubygems

Version Path
codependency-1.0.0 spec/support/circular_context.rb