summaryrefslogtreecommitdiffstats
path: root/features/step_definitions/gnome.rb
diff options
context:
space:
mode:
Diffstat (limited to 'features/step_definitions/gnome.rb')
-rw-r--r--features/step_definitions/gnome.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/features/step_definitions/gnome.rb b/features/step_definitions/gnome.rb
index f304f63..6e40601 100644
--- a/features/step_definitions/gnome.rb
+++ b/features/step_definitions/gnome.rb
@@ -1,13 +1,13 @@
-Then /^there is no screenshot in the live user's home directory$/ do
- pictures_directory = "/home/#{LIVE_USER}"
+Then /^there is no screenshot in the live user's Pictures directory$/ do
+ pictures_directory = "/home/#{LIVE_USER}/Pictures"
assert($vm.execute(
"find '#{pictures_directory}' -name 'Screenshot*.png' -maxdepth 1"
).stdout.empty?,
"Existing screenshots were found in the live user's Pictures directory.")
end
-Then /^a screenshot is saved to the live user's home directory$/ do
- pictures_directory = "/home/#{LIVE_USER}"
+Then /^a screenshot is saved to the live user's Pictures directory$/ do
+ pictures_directory = "/home/#{LIVE_USER}/Pictures"
try_for(10, :msg=> "No screenshot was created in #{pictures_directory}") do
!$vm.execute(
"find '#{pictures_directory}' -name 'Screenshot*.png' -maxdepth 1"