Integration test: torrent list

This commit is contained in:
DC
2016-09-08 16:40:43 -07:00
parent 1ad8a5313b
commit 785c44cd2a
22 changed files with 161 additions and 37 deletions

View File

@@ -36,26 +36,31 @@ module.exports = {
DEFAULT_TORRENTS: [
{
testID: 'bbb',
name: 'Big Buck Bunny',
posterFileName: 'bigBuckBunny.jpg',
torrentFileName: 'bigBuckBunny.torrent'
},
{
testID: 'cosmos',
name: 'Cosmos Laundromat (Preview)',
posterFileName: 'cosmosLaundromat.jpg',
torrentFileName: 'cosmosLaundromat.torrent'
},
{
testID: 'sintel',
name: 'Sintel',
posterFileName: 'sintel.jpg',
torrentFileName: 'sintel.torrent'
},
{
testID: 'tears',
name: 'Tears of Steel',
posterFileName: 'tearsOfSteel.jpg',
torrentFileName: 'tearsOfSteel.torrent'
},
{
testID: 'wired',
name: 'The WIRED CD - Rip. Sample. Mash. Share.',
posterFileName: 'wiredCd.jpg',
torrentFileName: 'wiredCd.torrent'
@@ -111,7 +116,7 @@ function getPath (key) {
if (process.type === 'renderer') {
return electron.remote.app.getPath(key)
} else {
electron.app.getPath(key)
return electron.app.getPath(key)
}
}