Method: Fixtures::Array#wrapping_string_array

Defined in:
lib/data_model/fixtures/array.rb

#wrapping_string_arrayObject



25
26
27
28
29
30
31
32
33
34
35
36
37
# File 'lib/data_model/fixtures/array.rb', line 25

def wrapping_string_array
	Example.new(
		[:array, { wrap_single_value: true }, :string],
		variants: {
			strings: ["a", "b", "c"],
			string: ["a", ["a"]],
			number: [1, ["1"]],
			missing: nil,
			numbers: [[1, 2, 3], ["1", "2", "3"]],
			other_type: Object.new
		},
	)
end