Move non-empty files from test dir to spec and adopt specs
Signed-off-by: Sebastian Serth <Sebastian.Serth@student.hpi.de>
This commit is contained in:
6
spec/factories/error_template_attributes.rb
Normal file
6
spec/factories/error_template_attributes.rb
Normal file
@ -0,0 +1,6 @@
|
||||
FactoryBot.define do
|
||||
factory :error_template_attribute do
|
||||
key { "MyString" }
|
||||
regex { "MyString" }
|
||||
end
|
||||
end
|
7
spec/factories/error_templates.rb
Normal file
7
spec/factories/error_templates.rb
Normal file
@ -0,0 +1,7 @@
|
||||
FactoryBot.define do
|
||||
factory :error_template do
|
||||
execution_environment { nil }
|
||||
name { "MyString" }
|
||||
signature { "MyString" }
|
||||
end
|
||||
end
|
7
spec/factories/structured_error_attributes.rb
Normal file
7
spec/factories/structured_error_attributes.rb
Normal file
@ -0,0 +1,7 @@
|
||||
FactoryBot.define do
|
||||
factory :structured_error_attribute do
|
||||
structured_error { nil }
|
||||
error_template_attribute { nil }
|
||||
value { "MyString" }
|
||||
end
|
||||
end
|
6
spec/factories/structured_errors.rb
Normal file
6
spec/factories/structured_errors.rb
Normal file
@ -0,0 +1,6 @@
|
||||
FactoryBot.define do
|
||||
factory :structured_error do
|
||||
error_template { nil }
|
||||
submission { nil }
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user