Added unit test for Debian importer

This commit is contained in:
Christoph Haas 2015-04-23 22:35:15 +02:00
parent 785191e2c2
commit f9279337ed
2 changed files with 88 additions and 0 deletions

View file

@ -42,4 +42,20 @@ Debshots::Application.configure do
# URL prefix leading to the static images that should get delivered by the web server
config.images_path_prefix = '/screenshots'
# DEB package repositories to parse when running "rake debshots:... tasks"
config.package_sources = [
{
description: 'Development test files', type: 'apt', url: 'lib/tasks/files/',
architectures: ['i386', 'amd64']
#components: ['main','restricted','universe','multiverse']
}
]
config.images_path = Rails.root.join('public', 'screenshots')
config.image_sizes = {
large: '800x600',
small: '160x120',
}
end