class Kibutsu::FixtureFinder

Finds fixture files with the right file extensions to load.

Attributes

fixtures_path[R]

Public Class Methods

new(fixtures_path) click to toggle source
# File lib/kibutsu/fixture_finder.rb, line 4
def initialize(fixtures_path)
  @fixtures_path = fixtures_path
end

Public Instance Methods

fixture_file_paths() click to toggle source
# File lib/kibutsu/fixture_finder.rb, line 8
def fixture_file_paths
  Dir[File.join(fixtures_path, '**', '*.{yml,yml.erb}')]
end