test_bench-fixture 1.2.0.0 → 1.2.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 25ed7c441f8a38313a029f48a268840e7ae74715ed1f1ef0a1ea6fbd0ba240f4
4
- data.tar.gz: ea2a1c7371ab289c3c9ed010e5b8d0c3306d925dec0915754111440b6fef93a1
3
+ metadata.gz: cc7f1499ed0c570fe37e016a85c568e0aafb2927e2bae3f4d9a69941200c7462
4
+ data.tar.gz: e0383187e888b17ff12b6e9ee9a5dd348464be7c0360e36fde48930f83fc5a89
5
5
  SHA512:
6
- metadata.gz: fcefd55166731aca176114c3261ba2fac9f7100d8899cb9b46e444c42a671bb1900744209dc2e44ce776d4da922a6d6ed9a6bfb28beb4d2574ae4a437185ebcd
7
- data.tar.gz: cf4b521d231e475e57348ee4b9c832c2b0c35cd0e73212e676345d1de041911c4b45298bb64f624ee05d682a27fc7444e2c90cb7ff905e7cc93e36bd690adb25
6
+ metadata.gz: 8afce41f802f82ce18ec0246732ef9474aeff5f100ac4e603fd541e6ba5570aa5256ad691a1b8d12db0d2e837ccea0560be0c2de890d7e14603374340f19d1ce
7
+ data.tar.gz: 4d382f91315c9d057689990efb573f7f4d4504ce45f49b3927c5fab74940455b20717388b2b89d630d64b9974c17d60db8063cc2fe2dc84c644eaaa80f8563c4
@@ -13,6 +13,12 @@ module TestBench
13
13
  end
14
14
  attr_writer :error_counter
15
15
 
16
+ def skip
17
+ @skip ||= false
18
+ end
19
+ attr_writer :skip
20
+ alias_method :skip?, :skip
21
+
16
22
  def started
17
23
  instance_variable_defined?(:@started) ?
18
24
  @started :
@@ -227,6 +233,10 @@ module TestBench
227
233
  def failed?
228
234
  error_counter.nonzero? ? true : false
229
235
  end
236
+
237
+ def skip!
238
+ self.skip = true
239
+ end
230
240
  end
231
241
  end
232
242
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: test_bench-fixture
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0.0
4
+ version: 1.2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathan Ladd
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-07-23 00:00:00.000000000 Z
11
+ date: 2020-07-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: test_bench-bootstrap