kookaburra 0.7.1 → 0.7.2

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/VERSION CHANGED
@@ -1 +1 @@
1
- 0.7.1
1
+ 0.7.2
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "kookaburra"
8
- s.version = "0.7.1"
8
+ s.version = "0.7.2"
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"]
12
- s.date = "2012-01-22"
12
+ s.date = "2012-01-23"
13
13
  s.description = "Cucumber + Capybara = Kookaburra? It made sense at the time."
14
14
  s.email = "devteam@renewfund.com"
15
15
  s.extra_rdoc_files = [
@@ -115,7 +115,8 @@ module Kookaburra
115
115
 
116
116
  # Returns a configured instance of the `Kookaburra::GivenDriver`
117
117
  def given
118
- kookaburra_drivers[:given] ||= Kookaburra.given_driver.new(:api_driver => api)
118
+ kookaburra_drivers[:given] ||= \
119
+ Kookaburra.given_driver.new(:api_driver => api, :test_data => kookaburra_test_data)
119
120
  end
120
121
 
121
122
  # Returns a configured instance of the `Kookaburra::UIDriver`
@@ -1,9 +1,11 @@
1
1
  module Kookaburra
2
2
  class GivenDriver
3
3
  attr_reader :api
4
+ attr_reader :test_data
4
5
 
5
6
  def initialize(opts)
6
7
  @api = opts.fetch(:api_driver)
8
+ @test_data = opts.fetch(:test_data)
7
9
  end
8
10
  end
9
11
  end
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: 1
4
+ hash: 7
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 7
9
- - 1
10
- version: 0.7.1
9
+ - 2
10
+ version: 0.7.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Renewable Funding, LLC
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-01-22 00:00:00 Z
18
+ date: 2012-01-23 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  version_requirements: &id001 !ruby/object:Gem::Requirement