test_bench-fixture 2.1.0.0.pre1 → 2.1.0.0.pre3

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: 452df63916f2797909fcaf1fa88fa3796e30f62ae8e76b474f88f44deca9c0a7
4
- data.tar.gz: d20658bd59994d577596d14c1f6d4bba7159e8278e8a8e2f3e44fdf70e939630
3
+ metadata.gz: 033b9c9ab58eb174ef49322146024b3640cfba35b27672754c7623203c709c3f
4
+ data.tar.gz: e645b143f4f318e9d53a28ac74d288c00662d18ac1b0fc16e6992262b16d0942
5
5
  SHA512:
6
- metadata.gz: 94780148b301e586fc8aa263e6563afa2329d0c4f9cf4a44e9c65e50a4d2316055795cf268d090ab88874801086137937f94d50b531c477001e0db0f49f36c62
7
- data.tar.gz: e9ea4a7400c93b9086214d1b5dfb86b663c1db0ff729a61bb362f4eba8247205e86e89bcf0342bd3db7833705d04b60864829995ff2e4397da49b31467e9b5c0
6
+ metadata.gz: 7f65c7d27720fd5435f19cd220855ef91f752741f01637990dd5defe7b0c9c17c40f8b6ae2c89846be17120d59b1feb3e94c8f1bcb7897be417cd7d1f38a1551
7
+ data.tar.gz: 99def3195142901325d0145f070c14d00138b7db79c5ef458c3a2e9f127ec0fb68b1366db2fed888247f9f1852bf903ef63336a60e5c789b40852786265ac8c2
@@ -104,18 +104,26 @@ module TestBench
104
104
  end
105
105
 
106
106
  def context(title=nil, &block)
107
+ title = title&.to_str
108
+
107
109
  test_session.context(title, &block)
108
110
  end
109
111
 
110
112
  def context!(title=nil, &block)
113
+ title = title&.to_str
114
+
111
115
  test_session.context!(title, &block)
112
116
  end
113
117
 
114
118
  def test(title=nil, &block)
119
+ title = title&.to_str
120
+
115
121
  test_session.test(title, &block)
116
122
  end
117
123
 
118
124
  def test!(title=nil, &block)
125
+ title = title&.to_str
126
+
119
127
  test_session.test!(title, &block)
120
128
  end
121
129
 
@@ -132,6 +140,10 @@ module TestBench
132
140
  def self.comment(telemetry, event_class, text, *additional_texts, heading: nil, quote: nil)
133
141
  texts = [text, *additional_texts]
134
142
 
143
+ texts.map! do |text|
144
+ text.to_str
145
+ end
146
+
135
147
  if quote.nil?
136
148
  quote = texts.last.end_with?("\n")
137
149
  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: 2.1.0.0.pre1
4
+ version: 2.1.0.0.pre3
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-session
@@ -25,7 +25,7 @@ dependencies:
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
- name: test_bench-bootstrap
28
+ name: test_bench-isolated
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - ">="