spec/fabricators/manifest_fabricator.rb in polytrix-0.1.0.pre vs spec/fabricators/manifest_fabricator.rb in polytrix-0.1.0
- old
+ new
@@ -1,8 +1,8 @@
require 'hashie/mash'
-# Fabricates test manifests (.polytrix_tests.yml files)
+# Fabricates test manifests (.polytrix.yml files)
LANGUAGES = %w(java ruby python nodejs c# golang php)
SAMPLE_NAMES = [
'hello world',
'quine',
'my_kata'
@@ -10,9 +10,12 @@
Fabricator(:manifest, from: Polytrix::Manifest) do
initialize_with { @_klass.new to_hash } # Hash based initialization
transient suite_count: 3
transient samples_per_suite: 3
+ implementors do
+ Fabricate(:implementor)
+ end
global_env do
{
VAR1: 1,
VAR2: 2
}