class Sambot::Testing::Fixtures

Public Class Methods

get_path(spec, fixture_file) click to toggle source
# File lib/sambot/testing/fixtures.rb, line 9
def get_path(spec, fixture_file)
  parts = spec.split('spec')
  File.join(parts[0], 'spec/fixtures', parts[1] + 'spec', fixture_file)
end