Sha256: 4c54a214716bb58b7399ba9c40f14fb585ea83c2ddafb571a39db698c29e82c5
Contents?: true
Size: 1 KB
Versions: 5
Compression:
Stored size: 1 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
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
smilodon-0.2.7 | lib/smilodon/fakes.rb |
smilodon-0.2.6 | lib/smilodon/fakes.rb |
smilodon-0.2.5 | lib/smilodon/fakes.rb |
smilodon-0.2.4 | lib/smilodon/fakes.rb |
smilodon-0.2.3 | lib/smilodon/fakes.rb |