about summary refs log tree commit diff
path: root/spec/fabricators
diff options
context:
space:
mode:
Diffstat (limited to 'spec/fabricators')
-rw-r--r--spec/fabricators/domain_block_fabricator.rb3
-rw-r--r--spec/fabricators/media_attachment_fabricator.rb4
2 files changed, 3 insertions, 4 deletions
diff --git a/spec/fabricators/domain_block_fabricator.rb b/spec/fabricators/domain_block_fabricator.rb
new file mode 100644
index 000000000..540ddcacd
--- /dev/null
+++ b/spec/fabricators/domain_block_fabricator.rb
@@ -0,0 +1,3 @@
+Fabricator(:domain_block) do
+  domain "MyString"
+end
diff --git a/spec/fabricators/media_attachment_fabricator.rb b/spec/fabricators/media_attachment_fabricator.rb
index 42aa5ab02..b1a0cd991 100644
--- a/spec/fabricators/media_attachment_fabricator.rb
+++ b/spec/fabricators/media_attachment_fabricator.rb
@@ -1,6 +1,2 @@
 Fabricator(:media_attachment) do
-  status_id  1
-  file       ""
-  remote_url "MyString"
-  account_id 1
 end