superbara 0.11.0 → 0.11.1

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
  SHA256:
3
- metadata.gz: 8f4295350bebd45aadb239fbcc40fc37ff90d5ff68a3034fedfc00aafedc5126
4
- data.tar.gz: 74cb152022563849a2dce5d9944ecd3b5b81c8631133d1091522e5391d6a8132
3
+ metadata.gz: 3909dad114b84f3a1f3ff199b87b279ab4ffdd37123d1d9cfaef699cf14fcafb
4
+ data.tar.gz: 31755ae0ce8e2b79ac5b53edf42d580610fdf402611d7b20179cad39bb815d96
5
5
  SHA512:
6
- metadata.gz: a44befc00835d55eddedc686dda81c74b7c4a4e52a16446a124e33c4e9702c8fa2c041219b18f799876bcafcbdb256cb0a4b2f4a93629b98d4a351e07bebbb64
7
- data.tar.gz: 42c74aa672ef8c84db20aedd5df80e15aaf2b1d94b79f326dc7252cc8ca276611c44323ca92704526b4da8d8855a484d48bd98183aac56f3803e7949bb09855c
6
+ metadata.gz: cf7aa8ff7792e5b427fc55e7cce7a9847e6c112b65fe8eff1f1975efa9cbf4733d4b031d1bfa79ffb604c6512529015e5f9836e42f81f47db5e49c78c38a6614
7
+ data.tar.gz: 6bdea68e00631dbf1f21f2548256770ca3ce165442f46ba48e30046017f9cf4051feb7da726dcd203741847f942213e614baa2ccbc5a2204e723e56c73271f02
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- superbara (0.11.0)
4
+ superbara (0.11.1)
5
5
  binding_of_caller (~> 0.8, >= 0.8.0)
6
6
  capybara (~> 3.1, >= 3.1.0)
7
7
  colorize (~> 0.8, >= 0.8.1)
@@ -5,12 +5,12 @@ username_field = wait 3 do
5
5
  find_field 'username'
6
6
  end
7
7
 
8
- # username comes from: run "helpers/login" username: "tomsmith"
9
- username_field.type username
8
+ # @username comes from: run "helpers/login" username: "tomsmith"
9
+ username_field.type @username
10
10
 
11
11
  # we assume that because username was found, then password will be found without waiting
12
12
  # also we use parenthesis around to be able to call .type on the returned element
13
- find_field('password').type password
13
+ find_field('password').type @password
14
14
 
15
15
  click_button 'Login'
16
16
 
@@ -15,12 +15,6 @@ sleep 0.0001
15
15
  end
16
16
 
17
17
  def __superbara_load(path, params={})
18
- params.each_pair do |k,v|
19
- Superbara.main.define_singleton_method k.to_sym do
20
- v
21
- end
22
- end
23
-
24
18
  params.each_pair do |k,v|
25
19
  eval = "@#{k} = "
26
20
  eval << "'" if v.class == String
@@ -1,3 +1,3 @@
1
1
  module Superbara
2
- VERSION = "0.11.0"
2
+ VERSION = "0.11.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: superbara
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.0
4
+ version: 0.11.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matti Paksula