Sha256: a46845e26e317f78033fcbd0061ebe5af1506f2d49332e0ddb0ad402614cce0e

Contents?: true

Size: 377 Bytes

Versions: 1

Compression:

Stored size: 377 Bytes

Contents

require 'spec_helper'

describe Codependency::Graph do
  let( :path ){ File.join( File.dirname( __FILE__ ), '../fixtures' ) }
  subject { Codependency::Graph.new Dir[ File.join( path, '*.rb' ) ] }

  its( :files ){ should eq(
    [
      "#{path}/body.rb",
      "#{path}/planet.rb",
      "#{path}/earth.rb",
      "#{path}/mars.rb",
      "#{path}/phobos.rb"
    ]
  ) }
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
codependency-0.1.0 spec/codependency/graph_spec.rb