auto_test 0.1.9 → 0.1.9.5
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/lib/authentication.rb +9 -2
- data/lib/auto_test/version.rb +1 -1
- data/lib/auto_test.rb +4 -0
- data/lib/dsl.rb +4 -0
- metadata +2 -2
data/lib/authentication.rb
CHANGED
@@ -41,7 +41,14 @@ module AutoTest
|
|
41
41
|
@login = path
|
42
42
|
end
|
43
43
|
|
44
|
-
|
44
|
+
def set_login_button(text)
|
45
|
+
@login_button = text
|
46
|
+
end
|
47
|
+
|
48
|
+
def get_login_button
|
49
|
+
@login_button
|
50
|
+
end
|
51
|
+
|
45
52
|
def init_login_data
|
46
53
|
@data = []
|
47
54
|
end
|
@@ -163,7 +170,7 @@ module AutoTest
|
|
163
170
|
session.fill_in field[1], :with => get_user_data[i]
|
164
171
|
end
|
165
172
|
end
|
166
|
-
session.click_button
|
173
|
+
session.click_button get_login_button
|
167
174
|
|
168
175
|
Page.check_for_error_code(session)
|
169
176
|
rescue (ActiveRecord::RecordNotFound)
|
data/lib/auto_test/version.rb
CHANGED
data/lib/auto_test.rb
CHANGED
data/lib/dsl.rb
CHANGED
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: auto_test
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.1.9
|
5
|
+
version: 0.1.9.5
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Maike Hargens
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2012-10-
|
13
|
+
date: 2012-10-12 00:00:00 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: faker
|