summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoranonym <anonym@riseup.net>2015-05-12 07:56:27 +0200
committeranonym <anonym@riseup.net>2015-05-12 07:56:27 +0200
commita023a757541a1ab2ff69a85fc72793544f06e08b (patch)
treeb09461e142fbf46de0daebddd608e6da9d39b60c
parentbe3d7d588fa4ddbac08531f7b0f5ec5af45a99c9 (diff)
Look in the right dir when determining which videos exist on the host.
-rw-r--r--features/step_definitions/totem.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/features/step_definitions/totem.rb b/features/step_definitions/totem.rb
index a43a694..d535c25 100644
--- a/features/step_definitions/totem.rb
+++ b/features/step_definitions/totem.rb
@@ -18,7 +18,7 @@ end
Given /^I copy the sample videos to "([^"]+)" as user "([^"]+)"$/ do |destination, user|
next if @skip_steps_while_restoring_background
- for video_on_host in Dir.glob("#{MISC_FILES_DIR}/*.mp4") do
+ for video_on_host in Dir.glob("#{@shared_video_dir_on_host}/*.mp4") do
video_name = File.basename(video_on_host)
src_on_guest = "#{@shared_video_dir_on_guest}/#{video_name}"
dst_on_guest = "#{destination}/#{video_name}"