Sha256: 1dae6069222619012f82648be9de3024643b9e717e1f1096ddceb44534b07fd8

Contents?: true

Size: 453 Bytes

Versions: 3

Compression:

Stored size: 453 Bytes

Contents

def compare_paths(path1, path2)
  File.join(MetricFu.root_dir, path1).should == File.join(MetricFu.root_dir, path2)
end


# TODO these directories shouldn't be written in the first place
def cleanup_test_files
  FileUtils.rm_rf(Dir["#{MetricFu.root_dir}/foo"])
  FileUtils.rm_rf(Dir["#{MetricFu.root_dir}/is set"])
rescue => e
  mf_debug "Failed cleaning up test files #{e.inspect}"
end


def resources_path
  "#{MetricFu.root_dir}/spec/resources"
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
metric_fu-4.2.1 spec/support/suite.rb
metric_fu-4.2.0 spec/support/suite.rb
metric_fu-4.1.3 spec/support/suite.rb