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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: eff1f946f4af72a45cf8a20f51c0500ea4633ac22ac17da89ee1da243d7ce9b7
4
- data.tar.gz: bd1faca42a45e762480171d1bce77c2a58cacb32007d04cc1bebf8c64a66412d
3
+ metadata.gz: eee450d62b5fe62bc18808f8ffa30212975381cf593ce03ba07a8842a0918f35
4
+ data.tar.gz: 3a695afd8001aa983cd48d0b58861f67066bfd0c89db3981a815294e2e17adb6
5
5
  SHA512:
6
- metadata.gz: f732ea82d07763d25a48eaf05e8e5287b785a61a357955cdd09108ac5101c7adf34379c6121f40b423deaa8caf1cb798392084d01da2e3b3d10b1ae6b5d55832
7
- data.tar.gz: d0e36f45c29d0d38c7844d24e5f06428f7254521944e1c1c5787fc91bb243b6a73d0366960a63241cd48c2afd9f02703ddbf8891193b038f11d097c9eab37889
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.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-24 00:00:00.000000000 Z
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