candroid_helpers 0.0.2.beta → 0.0.2.pre

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4c6a6dc85a8b89a52ddb7141fe8cadf82072f149
4
- data.tar.gz: 28ba9c7937e40e8937f45933b717a0ce8198425c
3
+ metadata.gz: 68985072380a0ec88c31bd870d4b683fa8c82cf0
4
+ data.tar.gz: c7c28aa757550247113a5c272a75392995bffccf
5
5
  SHA512:
6
- metadata.gz: 722d6f2e2769615f10142d9383c79c89342efa71c07ad0fa3d03601cd5ff5dc7895c9f9f2d2bfc4d255f184031a7ecd5c89836c407d9213fe6e8f9fd78bcb017
7
- data.tar.gz: 1f3d26f85842e129a5afd1f8ec3ebff855280b74c2818c2a51dd2449fdc5abd7c0093d18ce47ba5aaedd89798d3d39986caee491a17f3c1c5e15e183257748e0
6
+ metadata.gz: 80b6247aa2aa1efdff2adfb7e279d937d56f37923713caf4321b245965f8ea69a1d3c3bd4ff21c00cda5785028676327a167a7067eb9b407a7b2d7b075ed1692
7
+ data.tar.gz: 80f43a4a69a56d20e9d6ca364978aeac4cc641839dd0cc03fe56103ffbad1194b01d52566d2e6e0d4b2fd589f332de5a23d843a880c1cb7356f0bfc3c0124363
@@ -1,3 +1,3 @@
1
1
  module CandroidHelpers
2
- VERSION = "0.0.2.beta"
2
+ VERSION = "0.0.2.pre"
3
3
  end
@@ -9,7 +9,7 @@ module CandroidHelpers
9
9
  raise "No element given." if opts[:element].nil?
10
10
  timeout = opts[:timeout] || 10
11
11
  action = opts[:action] || lambda { ; }
12
- wait_poll until_exists: opts[:element], timeout: timeout do
12
+ wait_poll until_exists: element, timeout: timeout do
13
13
  action.call
14
14
  end
15
15
  end
@@ -20,7 +20,7 @@ module CandroidHelpers
20
20
  raise "No element given." if opts[:element].nil?
21
21
  timeout = opts[:timeout] || 10
22
22
  action = opts[:action] || lambda { touch element }
23
- wait_for_elements_exist [opts[:element]], timeout: timeout
23
+ wait_for_elements_exist [element], timeout: timeout
24
24
  action.call
25
25
  end
26
26
 
@@ -32,7 +32,7 @@ module CandroidHelpers
32
32
  traits = opts[:traits] || ["*"]
33
33
  trait = ''
34
34
  action = lambda do
35
- traits.each do |element|
35
+ arr.each do |element|
36
36
  if element_exists element
37
37
  trait = element
38
38
  break
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: candroid_helpers
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2.beta
4
+ version: 0.0.2.pre
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joshua Escribano
@@ -92,5 +92,5 @@ rubyforge_project:
92
92
  rubygems_version: 2.1.10
93
93
  signing_key:
94
94
  specification_version: 4
95
- summary: candroid_helpers-0.0.2.beta
95
+ summary: candroid_helpers-0.0.2.pre
96
96
  test_files: []