Add structured errors to schema
This commit is contained in:
7
test/factories/error_template_attributes.rb
Normal file
7
test/factories/error_template_attributes.rb
Normal file
@ -0,0 +1,7 @@
|
||||
FactoryGirl.define do
|
||||
factory :error_template_attribute do
|
||||
error_template nil
|
||||
key "MyString"
|
||||
regex "MyString"
|
||||
end
|
||||
end
|
7
test/factories/error_templates.rb
Normal file
7
test/factories/error_templates.rb
Normal file
@ -0,0 +1,7 @@
|
||||
FactoryGirl.define do
|
||||
factory :error_template do
|
||||
execution_environment nil
|
||||
name "MyString"
|
||||
signature "MyString"
|
||||
end
|
||||
end
|
7
test/factories/structured_error_attributes.rb
Normal file
7
test/factories/structured_error_attributes.rb
Normal file
@ -0,0 +1,7 @@
|
||||
FactoryGirl.define do
|
||||
factory :structured_error_attribute do
|
||||
structured_error nil
|
||||
error_template_attribute nil
|
||||
value "MyString"
|
||||
end
|
||||
end
|
6
test/factories/structured_errors.rb
Normal file
6
test/factories/structured_errors.rb
Normal file
@ -0,0 +1,6 @@
|
||||
FactoryGirl.define do
|
||||
factory :structured_error do
|
||||
error_template nil
|
||||
file nil
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user