test-factory 0.2.5 → 0.2.6
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.
- data/Gemfile.lock +13 -11
- data/lib/test-factory/gem_ext.rb +9 -0
- data/test-factory.gemspec +1 -1
- metadata +2 -2
data/Gemfile.lock
CHANGED
|
@@ -1,27 +1,29 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
test-factory (0.
|
|
5
|
-
watir-webdriver (>= 0.6.
|
|
4
|
+
test-factory (0.2.6)
|
|
5
|
+
watir-webdriver (>= 0.6.2)
|
|
6
6
|
|
|
7
7
|
GEM
|
|
8
8
|
remote: http://rubygems.org/
|
|
9
9
|
specs:
|
|
10
|
-
addressable (2.2
|
|
11
|
-
childprocess (0.3.
|
|
12
|
-
ffi (~> 1.0.6)
|
|
13
|
-
ffi (1.0
|
|
14
|
-
libwebsocket (0.1.
|
|
10
|
+
addressable (2.3.2)
|
|
11
|
+
childprocess (0.3.6)
|
|
12
|
+
ffi (~> 1.0, >= 1.0.6)
|
|
13
|
+
ffi (1.2.0)
|
|
14
|
+
libwebsocket (0.1.7.1)
|
|
15
15
|
addressable
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
16
|
+
websocket
|
|
17
|
+
multi_json (1.5.0)
|
|
18
|
+
rubyzip (0.9.9)
|
|
19
|
+
selenium-webdriver (2.27.2)
|
|
19
20
|
childprocess (>= 0.2.5)
|
|
20
21
|
libwebsocket (~> 0.1.3)
|
|
21
22
|
multi_json (~> 1.0)
|
|
22
23
|
rubyzip
|
|
23
|
-
watir-webdriver (0.6.
|
|
24
|
+
watir-webdriver (0.6.2)
|
|
24
25
|
selenium-webdriver (>= 2.18.0)
|
|
26
|
+
websocket (1.0.6)
|
|
25
27
|
|
|
26
28
|
PLATFORMS
|
|
27
29
|
ruby
|
data/lib/test-factory/gem_ext.rb
CHANGED
|
@@ -105,6 +105,15 @@
|
|
|
105
105
|
# page.checkbox.fit checkbox_trans[opts[:option]]
|
|
106
106
|
#
|
|
107
107
|
module Watir
|
|
108
|
+
|
|
109
|
+
class CheckBox
|
|
110
|
+
def fit(arg)
|
|
111
|
+
unless arg==nil
|
|
112
|
+
self.send(arg)
|
|
113
|
+
end
|
|
114
|
+
end
|
|
115
|
+
end
|
|
116
|
+
|
|
108
117
|
module UserEditable
|
|
109
118
|
|
|
110
119
|
# Extends Watir's methods.
|
data/test-factory.gemspec
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
spec = Gem::Specification.new do |s|
|
|
2
2
|
s.name = 'test-factory'
|
|
3
|
-
s.version = '0.2.
|
|
3
|
+
s.version = '0.2.6'
|
|
4
4
|
s.summary = %q{rSmart's framework for creating automated testing scripts}
|
|
5
5
|
s.description = %q{This gem provides a set of modules and methods to help quickly and DRYly create a test automation framework using Ruby and Watir (or watir-webdriver).}
|
|
6
6
|
s.files = Dir.glob("**/**/**")
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: test-factory
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.6
|
|
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-05-
|
|
12
|
+
date: 2013-05-10 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: watir-webdriver
|