about summary refs log tree commit diff
path: root/spec/fabricators
diff options
context:
space:
mode:
authorReverite <github@reverite.sh>2019-04-01 13:28:33 -0700
committerReverite <github@reverite.sh>2019-04-01 13:28:33 -0700
commitff736905fa534f7189e57c1d0c14fbac45f239a1 (patch)
tree4502f6d993ba60bd4ab68f41a53a642901d244fd /spec/fabricators
parent4d77314005483e53e320a82c87805c6bcca1c463 (diff)
parent3f5acc1ab3bc9c5a6c5805901a393ccd3457b909 (diff)
Merge branch 'glitch' into production
Diffstat (limited to 'spec/fabricators')
-rw-r--r--spec/fabricators/assets/TEAPOT6
-rw-r--r--spec/fabricators/assets/utah_teapot.pngbin0 -> 248232 bytes
-rw-r--r--spec/fabricators/site_upload_fabricator.rb1
3 files changed, 7 insertions, 0 deletions
diff --git a/spec/fabricators/assets/TEAPOT b/spec/fabricators/assets/TEAPOT
new file mode 100644
index 000000000..e624ecb4c
--- /dev/null
+++ b/spec/fabricators/assets/TEAPOT
@@ -0,0 +1,6 @@
+This "Utah teapot" photograph is licensed under the Creative Commons
+Attribution-Share Alike 3.0 Unported license:
+  https://creativecommons.org/licenses/by-sa/3.0/deed.en
+
+Original source of work:
+  https://commons.wikimedia.org/wiki/File:Utah_teapot_simple_2.png
diff --git a/spec/fabricators/assets/utah_teapot.png b/spec/fabricators/assets/utah_teapot.png
new file mode 100644
index 000000000..6708361e5
--- /dev/null
+++ b/spec/fabricators/assets/utah_teapot.png
Binary files differdiff --git a/spec/fabricators/site_upload_fabricator.rb b/spec/fabricators/site_upload_fabricator.rb
index 4a171486f..2efc57e28 100644
--- a/spec/fabricators/site_upload_fabricator.rb
+++ b/spec/fabricators/site_upload_fabricator.rb
@@ -1,2 +1,3 @@
 Fabricator(:site_upload) do
+  file { File.open(File.join(Rails.root, 'spec', 'fabricators', 'assets', 'utah_teapot.png')) }
 end