Skip to content

Commit 5ba85ec

Browse files
authored
add documents for toml (#478)
1 parent bab7df7 commit 5ba85ec

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

lib/appium_lib/driver.rb

+3-2
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,8 @@ class Spec < Test
5555
module Appium
5656
REQUIRED_VERSION_XCUITEST = '1.6.0'.freeze
5757

58-
# Load arbitrary text (toml format)
58+
# Load arbitrary text ([toml format](https://github.com/toml-lang/toml))
59+
# The toml is parsed by https://github.com/fbernier/tomlrb .
5960
#
6061
# ```
6162
# [caps]
@@ -76,7 +77,7 @@ def self.load_settings(opts = {})
7677
raise 'opts must not be empty' if opts.empty?
7778

7879
toml = opts[:file]
79-
raise 'Must pass file' unless toml
80+
raise 'Must pass a capability file which has [caps] and [appium_lib]' unless toml
8081
verbose = opts.fetch :verbose, false
8182

8283
Appium::Logger.info "appium settings path: #{toml}" if verbose

0 commit comments

Comments
 (0)