about summary refs log tree commit diff
path: root/spec
diff options
context:
space:
mode:
authormultiple creatures <dev@multiple-creature.party>2019-12-11 22:00:22 -0600
committermultiple creatures <dev@multiple-creature.party>2019-12-11 22:00:22 -0600
commitdae7cda4abe135b3bb5fe9cfb3380721a2feb03e (patch)
tree4eda3ccfee17cb36a461d31cf74d266d80f6ebae /spec
parent9a435494c2efdd2ca8fc7f5fa3dbb81bf88633a1 (diff)
move sharekeys & import metadata to own tables
Diffstat (limited to 'spec')
-rw-r--r--spec/fabricators/imported_status_fabricator.rb4
-rw-r--r--spec/fabricators/sharekey_fabricator.rb4
-rw-r--r--spec/models/imported_status_spec.rb5
-rw-r--r--spec/models/sharekey_spec.rb5
4 files changed, 18 insertions, 0 deletions
diff --git a/spec/fabricators/imported_status_fabricator.rb b/spec/fabricators/imported_status_fabricator.rb
new file mode 100644
index 000000000..475ecd94f
--- /dev/null
+++ b/spec/fabricators/imported_status_fabricator.rb
@@ -0,0 +1,4 @@
+Fabricator(:imported_status) do
+  status nil
+  origin "MyString"
+end
diff --git a/spec/fabricators/sharekey_fabricator.rb b/spec/fabricators/sharekey_fabricator.rb
new file mode 100644
index 000000000..9e346603a
--- /dev/null
+++ b/spec/fabricators/sharekey_fabricator.rb
@@ -0,0 +1,4 @@
+Fabricator(:sharekey) do
+  status nil
+  key    "MyString"
+end
diff --git a/spec/models/imported_status_spec.rb b/spec/models/imported_status_spec.rb
new file mode 100644
index 000000000..f571a561a
--- /dev/null
+++ b/spec/models/imported_status_spec.rb
@@ -0,0 +1,5 @@
+require 'rails_helper'
+
+RSpec.describe ImportedStatus, type: :model do
+  pending "add some examples to (or delete) #{__FILE__}"
+end
diff --git a/spec/models/sharekey_spec.rb b/spec/models/sharekey_spec.rb
new file mode 100644
index 000000000..99fbf0d8c
--- /dev/null
+++ b/spec/models/sharekey_spec.rb
@@ -0,0 +1,5 @@
+require 'rails_helper'
+
+RSpec.describe Sharekey, type: :model do
+  pending "add some examples to (or delete) #{__FILE__}"
+end