Skip to content

Commit

Permalink
Add unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
Steve Kirkland committed Dec 19, 2024
1 parent 736af35 commit 99a3fa9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions lib/maze/api/appium/file_manager.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
require_relative '../../helper'
require_relative './manager'

module Maze
module Api
module Appium
Expand Down Expand Up @@ -38,7 +41,7 @@ def read_app_file(filename, directory = nil)
end

if directory
path = directory
path = "#{directory}/#{filename}"
else
path = case Maze::Helper.get_current_platform
when 'ios'
Expand All @@ -50,7 +53,7 @@ def read_app_file(filename, directory = nil)
end

$logger.trace "Attempting to read file from '#{path}'"
file = @driver.pull_file(path)
@driver.pull_file(path)
end
end
end
Expand Down
Empty file.

0 comments on commit 99a3fa9

Please sign in to comment.