kookaburra 0.14.0 → 0.14.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.markdown +4 -4
- data/VERSION +1 -1
- data/kookaburra.gemspec +1 -1
- metadata +3 -3
data/README.markdown
CHANGED
@@ -287,14 +287,14 @@ access default data:
|
|
287
287
|
# do something to create account in application
|
288
288
|
# ...
|
289
289
|
# make the details of the new account available to the rest of the test
|
290
|
-
test_data.
|
290
|
+
test_data.set_accounts(nickname, account)
|
291
291
|
end
|
292
292
|
end
|
293
293
|
|
294
294
|
class MyApplication::Kookaburra::UIDriver < Kookaburra::UIDriver
|
295
295
|
def sign_in(account_nickname)
|
296
296
|
# pull stored account details from TestData
|
297
|
-
account_info = test_data.
|
297
|
+
account_info = test_data.fetch_accounts(account_nickname)
|
298
298
|
|
299
299
|
# do something to log in using that account_info
|
300
300
|
end
|
@@ -339,7 +339,7 @@ the Domain Driver DSL for your application:
|
|
339
339
|
# merge in the password (since API doesn't return it) and store details
|
340
340
|
# in the TestData instance
|
341
341
|
account_details.merge(:password => account_data[:password])
|
342
|
-
test_data.
|
342
|
+
test_data.set_accounts(nickname, account_details)
|
343
343
|
end
|
344
344
|
end
|
345
345
|
|
@@ -375,7 +375,7 @@ within your subclass:
|
|
375
375
|
ui_component :sign_in_screen
|
376
376
|
|
377
377
|
def sign_in(account_nickname)
|
378
|
-
account = test_data.
|
378
|
+
account = test_data.fetch_accounts(account_nickname)
|
379
379
|
navigate_to :sign_in_screen
|
380
380
|
sign_in_screen.submit_login(account[:username], account[:password])
|
381
381
|
end
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.14.
|
1
|
+
0.14.1
|
data/kookaburra.gemspec
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kookaburra
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 37
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 14
|
9
|
-
-
|
10
|
-
version: 0.14.
|
9
|
+
- 1
|
10
|
+
version: 0.14.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Renewable Funding, LLC
|