File: fixtures.rb

package info (click to toggle)
ruby-filepath 0.7-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster
  • size: 244 kB
  • sloc: ruby: 1,691; makefile: 5
file content (21 lines) | stat: -rw-r--r-- 391 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# This is free software released into the public domain (CC0 license).

FIXTURES_DIR = File.join(%w{spec fixtures})
FIXTURES_FAKE_ENTRIES = [
	'd1',
		['d1', 'd11'],
		['d1', 'd12'],
		['d1', 'd13'],
		['d1', 'f11'],
		['d1', 'f12'],
		['d1', 'l11'],
	'd2',
		['d2', 'd21'],
		['d2', 'd22'],
	'd3',
	'f1',
	'dx',
	'p1',
	'p2',
	's1',
].map { |entry| File.join(FIXTURES_DIR, *Array(entry)) }