Sha256: 1ec58c7b0af56f7bd27d1bedd74100a5ba8c283257ddcdba3b5bc5f401af31a4
Contents?: true
Size: 1.25 KB
Versions: 15
Compression:
Stored size: 1.25 KB
Contents
# A fake populator module with default type for testing. module FakePopulator # Extend it with the Populator module. extend Smilodon::Populator # Populate the test file. populates 'TestFile' end # A fake populator module with overridden type for testing. module FakePopulatorWithOverriddenType # Extend it with the Populator module. extend Smilodon::Populator # Populate the test excel file. populates 'TestExcelFile', :type => 'excel' end # A fake populator module with overridden directory for testing. module FakePopulatorWithOverriddenDirectory # Extend it with the Populator module. 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 # A fake populator module with overridden directory for testing. module FakePopulatorWithOnlyDirectory # Extend it with the Populator module. extend Smilodon::Populator # Populate the test file. populates :directory => 'spec/test_files' end
Version data entries
15 entries across 15 versions & 1 rubygems