test-harness 0.6.1 → 0.6.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ZmEyYzQwNGRjNTAwZDI2NjBjMjc3ZTg5Y2E4ZjIwYjUwNTc3MmI5NA==
4
+ NTNlYWZmYzA3NzFlMDNhNGE1YjI3OWU0ZTZhZTJmYTQ0ZmNkZTU5Ng==
5
5
  data.tar.gz: !binary |-
6
- OTEyMzcyY2E5NzhmNjQ0NTZjN2JiMzkzNjdmZDY2ZGQ3YjgyYWVhZQ==
6
+ ZTdjZTU0Njc2ZTdiYmZiNzdmNjRkNTg0YTgwZDA3OTBhNWRiNTUxNQ==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- ZTlkZjA3NjlmNTY4NjZlNTZkNTY4MmY0NTBkYjhmZjU2MzllZDljN2U4ZjU1
10
- ZDI5YWE5YmI3NWE3MWIwYWEzZjg1NTBiZWNlMWNhOWQ1OGNlNWJmYzcyMjQ0
11
- YzgwY2FiMzI0ZjRiNWRlMDE1ZDgwNWViNTc2MjNkODdhN2YxMGY=
9
+ YTJlOWJjNTc2ODgyMWU1ZmFmNjc0OTBkYjk2NTRkNjI1MDgwNmYwMWZmYmM4
10
+ NjU2Mzc1OWEwYWMxZjQxNjljMzcxNmQ2YWNlZmEwZDNmMzIwNzU5NWM4MWFj
11
+ NzRlYWEwMWQ4YmQyNDgyYWViYjEyOTE0Y2FmMWVlMWMyOTc0YzY=
12
12
  data.tar.gz: !binary |-
13
- ZmMyNTY4ZTU0ODRkMzIxZjZhOTM2NjZhOWVmNWMzZDEyY2RlMWRjZjgwNmZm
14
- ODFmZTcxNDQ1MGE0YzAzM2UwZmQ5YmIxYTczYTY4ZjBhMjE0OTg0YzkwNDM0
15
- M2M2NGRjMjg3MTIxMTVhZTA1YjU0OWQxZDA2YjA5NDc1M2RlMTY=
13
+ MzZjYzYwNzQzZjNkODE0YmZlMDhlNGZiZjUzM2Y2ZmU3OGEzZDM4NDgzNzI5
14
+ ODJiYmMzZGVjM2MxMTE2ODVkNmFlZmU5MjdmMjYxMDBlMjVkZGFiOTE4MjE0
15
+ NTJhZThkMzJmY2IzZjdlZTk3M2MwODM3NDVjNmFiODlhODdlMzM=
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- test-harness (0.6.1)
4
+ test-harness (0.6.2)
5
5
  test-harness
6
6
 
7
7
  GEM
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.6.1
1
+ 0.6.2
@@ -131,8 +131,8 @@ class TestHarness
131
131
  mm.subject.send(token)
132
132
  elsif mm.respond_to? token.to_sym
133
133
  mm.send(token)
134
- elsif mm.respond_to? token.tr('_id', '')
135
- mm.send(token.tr('_id', '')).id
134
+ elsif mm.respond_to? token.sub('_id', '')
135
+ mm.send(token.sub('_id', '')).id
136
136
  end
137
137
  end
138
138
  end
data/test-harness.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "test-harness"
8
- s.version = "0.6.1"
8
+ s.version = "0.6.2"
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"]
@@ -93,6 +93,12 @@ Gem::Specification.new do |s|
93
93
  s.add_development_dependency(%q<jeweler>, [">= 0"])
94
94
  s.add_development_dependency(%q<gemcutter>, [">= 0"])
95
95
  s.add_development_dependency(%q<activesupport>, [">= 0"])
96
+ s.add_development_dependency(%q<rspec>, [">= 0"])
97
+ s.add_development_dependency(%q<rdoc>, [">= 0"])
98
+ s.add_development_dependency(%q<bundler>, [">= 0"])
99
+ s.add_development_dependency(%q<jeweler>, [">= 0"])
100
+ s.add_development_dependency(%q<gemcutter>, [">= 0"])
101
+ s.add_development_dependency(%q<activesupport>, [">= 0"])
96
102
  else
97
103
  s.add_dependency(%q<test-harness>, [">= 0"])
98
104
  s.add_dependency(%q<rspec>, [">= 0"])
@@ -125,6 +131,12 @@ Gem::Specification.new do |s|
125
131
  s.add_dependency(%q<jeweler>, [">= 0"])
126
132
  s.add_dependency(%q<gemcutter>, [">= 0"])
127
133
  s.add_dependency(%q<activesupport>, [">= 0"])
134
+ s.add_dependency(%q<rspec>, [">= 0"])
135
+ s.add_dependency(%q<rdoc>, [">= 0"])
136
+ s.add_dependency(%q<bundler>, [">= 0"])
137
+ s.add_dependency(%q<jeweler>, [">= 0"])
138
+ s.add_dependency(%q<gemcutter>, [">= 0"])
139
+ s.add_dependency(%q<activesupport>, [">= 0"])
128
140
  end
129
141
  else
130
142
  s.add_dependency(%q<test-harness>, [">= 0"])
@@ -158,6 +170,12 @@ Gem::Specification.new do |s|
158
170
  s.add_dependency(%q<jeweler>, [">= 0"])
159
171
  s.add_dependency(%q<gemcutter>, [">= 0"])
160
172
  s.add_dependency(%q<activesupport>, [">= 0"])
173
+ s.add_dependency(%q<rspec>, [">= 0"])
174
+ s.add_dependency(%q<rdoc>, [">= 0"])
175
+ s.add_dependency(%q<bundler>, [">= 0"])
176
+ s.add_dependency(%q<jeweler>, [">= 0"])
177
+ s.add_dependency(%q<gemcutter>, [">= 0"])
178
+ s.add_dependency(%q<activesupport>, [">= 0"])
161
179
  end
162
180
  end
163
181
 
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.6.1
4
+ version: 0.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Maher Hawash
@@ -444,6 +444,90 @@ dependencies:
444
444
  - - ! '>='
445
445
  - !ruby/object:Gem::Version
446
446
  version: '0'
447
+ - !ruby/object:Gem::Dependency
448
+ name: rspec
449
+ requirement: !ruby/object:Gem::Requirement
450
+ requirements:
451
+ - - ! '>='
452
+ - !ruby/object:Gem::Version
453
+ version: '0'
454
+ type: :development
455
+ prerelease: false
456
+ version_requirements: !ruby/object:Gem::Requirement
457
+ requirements:
458
+ - - ! '>='
459
+ - !ruby/object:Gem::Version
460
+ version: '0'
461
+ - !ruby/object:Gem::Dependency
462
+ name: rdoc
463
+ requirement: !ruby/object:Gem::Requirement
464
+ requirements:
465
+ - - ! '>='
466
+ - !ruby/object:Gem::Version
467
+ version: '0'
468
+ type: :development
469
+ prerelease: false
470
+ version_requirements: !ruby/object:Gem::Requirement
471
+ requirements:
472
+ - - ! '>='
473
+ - !ruby/object:Gem::Version
474
+ version: '0'
475
+ - !ruby/object:Gem::Dependency
476
+ name: bundler
477
+ requirement: !ruby/object:Gem::Requirement
478
+ requirements:
479
+ - - ! '>='
480
+ - !ruby/object:Gem::Version
481
+ version: '0'
482
+ type: :development
483
+ prerelease: false
484
+ version_requirements: !ruby/object:Gem::Requirement
485
+ requirements:
486
+ - - ! '>='
487
+ - !ruby/object:Gem::Version
488
+ version: '0'
489
+ - !ruby/object:Gem::Dependency
490
+ name: jeweler
491
+ requirement: !ruby/object:Gem::Requirement
492
+ requirements:
493
+ - - ! '>='
494
+ - !ruby/object:Gem::Version
495
+ version: '0'
496
+ type: :development
497
+ prerelease: false
498
+ version_requirements: !ruby/object:Gem::Requirement
499
+ requirements:
500
+ - - ! '>='
501
+ - !ruby/object:Gem::Version
502
+ version: '0'
503
+ - !ruby/object:Gem::Dependency
504
+ name: gemcutter
505
+ requirement: !ruby/object:Gem::Requirement
506
+ requirements:
507
+ - - ! '>='
508
+ - !ruby/object:Gem::Version
509
+ version: '0'
510
+ type: :development
511
+ prerelease: false
512
+ version_requirements: !ruby/object:Gem::Requirement
513
+ requirements:
514
+ - - ! '>='
515
+ - !ruby/object:Gem::Version
516
+ version: '0'
517
+ - !ruby/object:Gem::Dependency
518
+ name: activesupport
519
+ requirement: !ruby/object:Gem::Requirement
520
+ requirements:
521
+ - - ! '>='
522
+ - !ruby/object:Gem::Version
523
+ version: '0'
524
+ type: :development
525
+ prerelease: false
526
+ version_requirements: !ruby/object:Gem::Requirement
527
+ requirements:
528
+ - - ! '>='
529
+ - !ruby/object:Gem::Version
530
+ version: '0'
447
531
  description: A test harness for rspec and cucumber which allows for separating responsibility
448
532
  between setting up the context and interacting with the browser, and cleaning up
449
533
  the step definition files.