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 +4 -4
- data/lib/test_bench/fixture/session.rb +10 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cc7f1499ed0c570fe37e016a85c568e0aafb2927e2bae3f4d9a69941200c7462
|
4
|
+
data.tar.gz: e0383187e888b17ff12b6e9ee9a5dd348464be7c0360e36fde48930f83fc5a89
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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-
|
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
|