lib/smilodon/fakes.rb in smilodon-0.2.2 vs lib/smilodon/fakes.rb in smilodon-0.2.3

- old
+ new

@@ -25,5 +25,15 @@ extend Smilodon::Populator # Populate the test file. populates 'TestFile', :directory => 'db/populate/files' end + +# A fake populator module with overridden directory for testing. +module FakePopulatorWithMultipleFiles + + # Extend it with the Populator module. + extend Smilodon::Populator + + # Populate the test file. + populates 'TestFile1', 'TestFile2', 'TestFile3', :directory => 'db/populate/files' +end