test-harness 0.4.9 → 0.4.10

Sign up to get free protection for your applications and to get access to all the features.
data/.document CHANGED
File without changes
data/.rspec CHANGED
File without changes
data/.watchr CHANGED
File without changes
data/Gemfile CHANGED
File without changes
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  GEM
2
2
  remote: http://rubygems.org/
3
3
  specs:
4
- diff-lcs (1.1.3)
4
+ diff-lcs (1.2.2)
5
5
  gemcutter (0.7.1)
6
6
  git (1.2.5)
7
7
  jeweler (1.8.4)
@@ -9,18 +9,18 @@ GEM
9
9
  git (>= 1.2.5)
10
10
  rake
11
11
  rdoc
12
- json (1.7.4)
13
- rake (0.9.2.2)
14
- rdoc (3.12)
12
+ json (1.7.7)
13
+ rake (10.0.4)
14
+ rdoc (4.0.1)
15
15
  json (~> 1.4)
16
- rspec (2.11.0)
17
- rspec-core (~> 2.11.0)
18
- rspec-expectations (~> 2.11.0)
19
- rspec-mocks (~> 2.11.0)
20
- rspec-core (2.11.1)
21
- rspec-expectations (2.11.2)
22
- diff-lcs (~> 1.1.3)
23
- rspec-mocks (2.11.2)
16
+ rspec (2.13.0)
17
+ rspec-core (~> 2.13.0)
18
+ rspec-expectations (~> 2.13.0)
19
+ rspec-mocks (~> 2.13.0)
20
+ rspec-core (2.13.1)
21
+ rspec-expectations (2.13.0)
22
+ diff-lcs (>= 1.1.3, < 2.0)
23
+ rspec-mocks (2.13.0)
24
24
 
25
25
  PLATFORMS
26
26
  ruby
data/LICENSE.txt CHANGED
File without changes
data/README.markdown CHANGED
File without changes
data/Rakefile CHANGED
File without changes
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.9
1
+ 0.4.10
data/lib/configuration.rb CHANGED
File without changes
data/lib/given.rb CHANGED
File without changes
data/lib/mental_model.rb CHANGED
File without changes
data/lib/test_harness.rb CHANGED
File without changes
data/lib/test_helper.rb CHANGED
File without changes
data/lib/ui_component.rb CHANGED
File without changes
@@ -97,7 +97,11 @@ class TestHarness
97
97
 
98
98
  private
99
99
  def component_path
100
- component.path.gsub(/:\w+/) {|match| mm.subject.send(match.tr(':',''))}
100
+ case path = component.path
101
+ when Proc then path.call(mm)
102
+ else
103
+ path.gsub(/:\w+/) {|match| mm.subject.send(match.tr(':',''))}
104
+ end
101
105
  end
102
106
 
103
107
  # @private
data/lib/ui_driver.rb CHANGED
File without changes
data/lib/ui_helper.rb CHANGED
File without changes
data/lib/ui_view.rb CHANGED
File without changes
data/lib/utilities.rb CHANGED
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
data/spec/spec_helper.rb CHANGED
File without changes
data/test-harness.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "test-harness"
8
- s.version = "0.4.9"
8
+ s.version = "0.4.10"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Maher Hawash"]
12
- s.date = "2013-01-19"
12
+ s.date = "2013-03-31"
13
13
  s.description = "A test harness for rspec and cucumber which allows for separating responsibility between setting up the context and interacting with the browser, and cleaning up the step definition files."
14
14
  s.email = "gmhawash@gmail.com"
15
15
  s.extra_rdoc_files = [
@@ -50,7 +50,7 @@ Gem::Specification.new do |s|
50
50
  s.homepage = "http://github.com/gmhawash/test_harness"
51
51
  s.licenses = ["MIT"]
52
52
  s.require_paths = ["lib"]
53
- s.rubygems_version = "1.8.24"
53
+ s.rubygems_version = "1.8.23"
54
54
  s.summary = "Mini test harness for rspec and cucumber"
55
55
 
56
56
  if s.respond_to? :specification_version then
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: test-harness
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.9
4
+ version: 0.4.10
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-01-19 00:00:00.000000000 Z
12
+ date: 2013-03-31 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec
@@ -145,7 +145,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
145
145
  version: '0'
146
146
  segments:
147
147
  - 0
148
- hash: -1093059498372964529
148
+ hash: 1560447206924822776
149
149
  required_rubygems_version: !ruby/object:Gem::Requirement
150
150
  none: false
151
151
  requirements:
@@ -154,7 +154,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
154
154
  version: '0'
155
155
  requirements: []
156
156
  rubyforge_project:
157
- rubygems_version: 1.8.24
157
+ rubygems_version: 1.8.23
158
158
  signing_key:
159
159
  specification_version: 3
160
160
  summary: Mini test harness for rspec and cucumber