class Motion::Project::Config
Public Instance Methods
spec_core_files()
click to toggle source
# File lib/motion-spec.rb, line 72 def spec_core_files @spec_core_files ||= begin # Core library + core helpers. Dir.chdir(File.join(File.dirname(__FILE__), '..')) do # NOTE: This line is commented out to avoid loading Bacon. ( # ['spec.rb'] + Dir.glob(File.join('spec', 'helpers', '*.rb')) + Dir.glob(File.join('project', 'template', App.template.to_s, 'spec-helpers', '*.rb'))) .map { |x| File.expand_path(x) } end end end