watir-dom-wait 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/watir/dom/wait/version.rb +1 -1
- data/lib/watir/dom/wait.rb +1 -1
- data/spec/watir-dom-wait_spec.rb +7 -0
- metadata +4 -4
data/lib/watir/dom/wait.rb
CHANGED
data/spec/watir-dom-wait_spec.rb
CHANGED
@@ -48,6 +48,13 @@ describe Watir::Element do
|
|
48
48
|
@browser.div.when_dom_changed(:timeout => 2) { |div| div.spans }
|
49
49
|
end.should raise_error(Watir::Wait::TimeoutError)
|
50
50
|
end
|
51
|
+
|
52
|
+
it "returns block evaluation" do
|
53
|
+
@browser.button(:id, "quick").click
|
54
|
+
@browser.div.when_dom_changed do |div|
|
55
|
+
div.spans.size
|
56
|
+
end.should == 20
|
57
|
+
end
|
51
58
|
end
|
52
59
|
end
|
53
60
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: watir-dom-wait
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-07-08 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: watir-webdriver
|
@@ -111,7 +111,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
111
111
|
version: '0'
|
112
112
|
segments:
|
113
113
|
- 0
|
114
|
-
hash:
|
114
|
+
hash: 2619071256404589922
|
115
115
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
116
116
|
none: false
|
117
117
|
requirements:
|
@@ -120,7 +120,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
120
120
|
version: '0'
|
121
121
|
segments:
|
122
122
|
- 0
|
123
|
-
hash:
|
123
|
+
hash: 2619071256404589922
|
124
124
|
requirements: []
|
125
125
|
rubyforge_project:
|
126
126
|
rubygems_version: 1.8.23
|