test_bench-fixture 2.1.0.0.pre2 → 2.1.0.0
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/fixture.rb +12 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8fe7ab94d06ced8c7840cc64b484fd9aaf785300b8c63095ea26e97214148d19
|
4
|
+
data.tar.gz: 30d6a097491cc1851c3ae11e0562c71851599d0168ae4a73d8ecb918aaacc4d0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9c9ac8c9037c53bc92f8dab5710f9d0920fb949a54a38bcfd0d16c9d6506231cad426ab7b4c8ceb9cbda43cde3b7f880fdbe1d86fd5ff5fcc7c358b57a2421d0
|
7
|
+
data.tar.gz: 8e026f399f3f8d022e8eb25ad1365c1e3711764015de5340a8e23ff68c574de54e358f5237dbf441c7ee81cc344161ada84bf4ae09c565bb505a8ac26c6d08bf
|
@@ -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
|
4
|
+
version: 2.1.0.0
|
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-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: test_bench-session
|
@@ -74,9 +74,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
74
74
|
version: '0'
|
75
75
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
76
76
|
requirements:
|
77
|
-
- - "
|
77
|
+
- - ">="
|
78
78
|
- !ruby/object:Gem::Version
|
79
|
-
version:
|
79
|
+
version: '0'
|
80
80
|
requirements: []
|
81
81
|
rubygems_version: 3.4.10
|
82
82
|
signing_key:
|