test_bench-session 2.1.0.0 → 2.1.0.1
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.
- checksums.yaml +4 -4
- data/lib/test_bench/session/session.rb +8 -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: eee450d62b5fe62bc18808f8ffa30212975381cf593ce03ba07a8842a0918f35
|
|
4
|
+
data.tar.gz: 3a695afd8001aa983cd48d0b58861f67066bfd0c89db3981a815294e2e17adb6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a2298e834d4b9a19e77f12e1927c73166874be60869a4e0137da516654f3499e9e023c51073106f7c7563d6e40b81cb62e9f2db63bbd51a256b1485e91205ac7
|
|
7
|
+
data.tar.gz: bbdb93a2b5c3a872a559eb6aec091dd2c7643704091d1a1fde371439de4b197e1f09815e4ca3e6c290dd2f624128acdf5935bade7a8e219d9cfb79059fe1218f
|
|
@@ -67,10 +67,14 @@ module TestBench
|
|
|
67
67
|
end
|
|
68
68
|
|
|
69
69
|
def detail(text, quote, heading=nil)
|
|
70
|
+
text = text&.to_str
|
|
71
|
+
|
|
70
72
|
record_event(Events::Detailed.new(text, quote, heading))
|
|
71
73
|
end
|
|
72
74
|
|
|
73
75
|
def comment(text, quote, heading=nil)
|
|
76
|
+
text = text&.to_str
|
|
77
|
+
|
|
74
78
|
record_event(Events::Commented.new(text, quote, heading))
|
|
75
79
|
end
|
|
76
80
|
|
|
@@ -82,6 +86,8 @@ module TestBench
|
|
|
82
86
|
end
|
|
83
87
|
|
|
84
88
|
def context(title=nil, &block)
|
|
89
|
+
title = title&.to_str
|
|
90
|
+
|
|
85
91
|
if block.nil?
|
|
86
92
|
record_skip
|
|
87
93
|
record_event(Events::ContextSkipped.new(title))
|
|
@@ -114,6 +120,8 @@ module TestBench
|
|
|
114
120
|
end
|
|
115
121
|
|
|
116
122
|
def test(title=nil, &block)
|
|
123
|
+
title = title&.to_str
|
|
124
|
+
|
|
117
125
|
if block.nil?
|
|
118
126
|
record_skip
|
|
119
127
|
record_event(Events::TestSkipped.new(title))
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: test_bench-session
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.1.0.
|
|
4
|
+
version: 2.1.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: 2023-07-
|
|
11
|
+
date: 2023-07-25 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: test_bench-output
|