spec/spec_helper.rb in jarrett-quarto-0.1.0 vs spec/spec_helper.rb in jarrett-quarto-0.2.0
- old
+ new
@@ -4,7 +4,9 @@
SPEC_DIR = File.expand_path(File.dirname(__FILE__))
SAMPLE_DIR = SPEC_DIR + '/sample_project'
require(File.expand_path(File.dirname(__FILE__)) + '/../lib/quarto')
-require(File.expand_path(File.dirname(__FILE__)) + '/sample_project/models/company')
-require(File.expand_path(File.dirname(__FILE__)) + '/sample_project/models/employee')
+
+Dir.glob(SPEC_DIR + '/matchers/*.rb').each do |matcher_lib|
+ require matcher_lib
+end
\ No newline at end of file