Class: Sambot::Testing::Fixtures
- Inherits:
-
Object
- Object
- Sambot::Testing::Fixtures
- Defined in:
- lib/sambot/testing/fixtures.rb
Class Method Summary collapse
Class Method Details
.get_path(spec, fixture_file) ⇒ Object
9 10 11 12 |
# 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 |