kookaburra 0.14.0 → 0.14.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/README.markdown +4 -4
  2. data/VERSION +1 -1
  3. data/kookaburra.gemspec +1 -1
  4. 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.accounts[nickname] = account
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.accounts[account_nickname]
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.accounts[nickname] = account_details
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.accounts[account_nickname]
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.0
1
+ 0.14.1
data/kookaburra.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "kookaburra"
8
- s.version = "0.14.0"
8
+ s.version = "0.14.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Renewable Funding, LLC"]
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: 39
4
+ hash: 37
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 14
9
- - 0
10
- version: 0.14.0
9
+ - 1
10
+ version: 0.14.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Renewable Funding, LLC