about summary refs log tree commit diff
path: root/spec/fabricators/preview_card_fabricator.rb
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2017-05-20 17:09:40 +0200
committerGitHub <noreply@github.com>2017-05-20 17:09:40 +0200
commit812fe90ecaef58f1dbe16c3fdfea79e14e7bbc9d (patch)
treea5d79dec5503d145096cd1bcf20345bb4310fe9c /spec/fabricators/preview_card_fabricator.rb
parent6c1122a1d99cd58db923148a65b8b1a3dc7abe3d (diff)
Ensure unique identifiers in fabricated objects in tests (#3173)
Diffstat (limited to 'spec/fabricators/preview_card_fabricator.rb')
-rw-r--r--spec/fabricators/preview_card_fabricator.rb5
1 files changed, 2 insertions, 3 deletions
diff --git a/spec/fabricators/preview_card_fabricator.rb b/spec/fabricators/preview_card_fabricator.rb
index 448a94e7e..15b33815c 100644
--- a/spec/fabricators/preview_card_fabricator.rb
+++ b/spec/fabricators/preview_card_fabricator.rb
@@ -1,5 +1,4 @@
 Fabricator(:preview_card) do
-  status_id 1
-  url       "MyString"
-  html      "MyText"
+  status
+  url 'http://example.com'
 end