watirmark 5.29.1 → 5.29.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/watirmark/cucumber/model_helper.rb +3 -2
- data/lib/watirmark/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6863f2ffd5c7d3f536ee996f273bbd3e22b29cee
|
4
|
+
data.tar.gz: 44bee9f7b30b0fdacf9947f6f7f31398527bb959
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ef17f156091e90821158b4c0d3286055b6f63b82782bb520ba02b6c0f9bf8fd1346dfee7fc3c4736f035012880aa9d62df19bb9ec75e89339441ccab77cdff80
|
7
|
+
data.tar.gz: eee08540eebbda2d609c6c06ca702f9eec887449d32de34c91672aa80a9e802917eb107a182c1fbf11c0dfc9a29cec1ac1e3af7b6c730bd190c59900006f5264
|
@@ -20,9 +20,10 @@ module ModelHelper
|
|
20
20
|
# Perform an action using a models and update
|
21
21
|
# the models if that action is successful
|
22
22
|
def with_model(model, table)
|
23
|
-
|
24
|
-
update_model(
|
23
|
+
orig_model = model.clone
|
24
|
+
update_model(model, table)
|
25
25
|
yield
|
26
|
+
model.update(orig_model.to_h)
|
26
27
|
end
|
27
28
|
end
|
28
29
|
|
data/lib/watirmark/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: watirmark
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.29.
|
4
|
+
version: 5.29.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Hugh McGowan
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-10-
|
11
|
+
date: 2015-10-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: watir-webdriver
|
@@ -232,7 +232,7 @@ rubyforge_project:
|
|
232
232
|
rubygems_version: 2.4.8
|
233
233
|
signing_key:
|
234
234
|
specification_version: 4
|
235
|
-
summary: watirmark 5.29.
|
235
|
+
summary: watirmark 5.29.2
|
236
236
|
test_files:
|
237
237
|
- spec/model_traits_spec.rb
|
238
238
|
- spec/session_spec.rb
|