softwear-lib 1.4.2 → 1.4.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/softwear/lib/spec.rb +3 -3
- data/lib/softwear/lib/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 256a4d3e54b1b08a88522296a9061ddb43e25306
|
4
|
+
data.tar.gz: 237c618746df70c045a9031fb7edcf8fca8423f5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 57f27e815f6aa1068ddad8ea29bb0db911dae1a066b7427302699810857bb55b50129a71bd52189c08ec9240044aeaed1260383e09c32b2d3f40655d0385d3b2
|
7
|
+
data.tar.gz: 938338e81ee0c14780c375bba27033411405754fee92293a7d81e338db7f7dd2a603da9a2aea456079595c532845302c3c6de89ab065ffac9a0a2294233aea12
|
data/lib/softwear/lib/spec.rb
CHANGED
@@ -94,8 +94,8 @@ module Softwear::Lib
|
|
94
94
|
|
95
95
|
find("#{selector}+span").click
|
96
96
|
|
97
|
-
old_scopes =
|
98
|
-
|
97
|
+
old_scopes = page.instance_variable_get(:@scopes)
|
98
|
+
page.instance_variable_set(:@scopes, [nil])
|
99
99
|
|
100
100
|
find('input.select2-search__field').set(text)
|
101
101
|
result = first('li.select2-results__option')
|
@@ -106,7 +106,7 @@ module Softwear::Lib
|
|
106
106
|
end
|
107
107
|
|
108
108
|
ensure
|
109
|
-
|
109
|
+
page.instance_variable_set(:@scopes, old_scopes) if old_scopes
|
110
110
|
end
|
111
111
|
end
|
112
112
|
|
data/lib/softwear/lib/version.rb
CHANGED