Skip to content

Commit

Permalink
Changing path for ttest files
Browse files Browse the repository at this point in the history
  • Loading branch information
robertobermudez committed Mar 31, 2024
1 parent bf4a24a commit 6445a98
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
12 changes: 6 additions & 6 deletions test/banshy_media_importer_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
module Banshy
class MediaImporterTest < Minitest::Test
def setup
@video_path = '/home/mordrec/workspace/banshy/test/media/recorte.mp4'
@music_path = '/home/mordrec/workspace/banshy/test/media/better-day-186374.mp3'
@fake_video = '/home/mordrec/workspace/banshy/test/media/fake_video.mp4'
@fake_music = '/home/mordrec/workspace/banshy/test/media/fake_music.mp3'
@folder = '/home/mordrec/workspace/banshy/test/media'
@folder2 = '/home/mordrec/workspace/banshy/test/media/media2'
@video_path = File.join APP_ROOT_PATH, 'test/media/recorte.mp4'
@music_path = File.join APP_ROOT_PATH, 'test/media/better-day-186374.mp3'
@fake_video = File.join APP_ROOT_PATH, 'test/media/fake_video.mp4'
@fake_music = File.join APP_ROOT_PATH, 'test/media/fake_music.mp3'
@folder = File.join APP_ROOT_PATH, 'test/media'
@folder2 = File.join APP_ROOT_PATH, 'test/media/media2'
end

def before_setup
Expand Down
2 changes: 1 addition & 1 deletion test/banshy_music_file_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
module Banshy
class MusicFileTest < Minitest::Test
def setup
@music_path = '/home/mordrec/workspace/banshy/test/media/better-day-186374.mp3'
@music_path = File.join APP_ROOT_PATH, 'test/media/better-day-186374.mp3'
@music = Banshy::MusicFile.new(path: @music_path)
end

Expand Down
2 changes: 1 addition & 1 deletion test/banshy_music_playlist_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
module Banshy
class MusicPlaylistTest < Minitest::Test
def setup
@music_path = '/home/mordrec/workspace/banshy/test/media/better-day-186374.mp3'
@music_path = File.join APP_ROOT_PATH, 'test/media/better-day-186374.mp3'
@music = Banshy::MusicFile.new(path: @music_path)
@pl_name = 'new'
@pl = Banshy::MusicPlaylist.new name: @pl_name
Expand Down
2 changes: 1 addition & 1 deletion test/banshy_video_file_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
module Banshy
class VideoFileTest < Minitest::Test
def setup
@video_path = '/home/mordrec/workspace/banshy/test/media/recorte.mp4'
@video_path = File.join APP_ROOT_PATH, 'test/media/recorte.mp4'
@video = Banshy::VideoFile.new(path: @video_path)
end

Expand Down
2 changes: 1 addition & 1 deletion test/banshy_video_playlist_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
module Banshy
class VideoPlaylistTest < Minitest::Test
def setup
@video_path = '/home/mordrec/workspace/banshy/test/media/recorte.mp4'
@video_path = File.join APP_ROOT_PATH, 'test/media/recorte.mp4'
@video = Banshy::VideoFile.new(path: @video_path)
@pl_name = 'new'
@pl = Banshy::VideoPlaylist.new name: @pl_name
Expand Down

0 comments on commit 6445a98

Please sign in to comment.