diff options
author | multiple creatures <dev@multiple-creature.party> | 2019-12-11 22:00:22 -0600 |
---|---|---|
committer | multiple creatures <dev@multiple-creature.party> | 2019-12-11 22:00:22 -0600 |
commit | dae7cda4abe135b3bb5fe9cfb3380721a2feb03e (patch) | |
tree | 4eda3ccfee17cb36a461d31cf74d266d80f6ebae /spec | |
parent | 9a435494c2efdd2ca8fc7f5fa3dbb81bf88633a1 (diff) |
move sharekeys & import metadata to own tables
Diffstat (limited to 'spec')
-rw-r--r-- | spec/fabricators/imported_status_fabricator.rb | 4 | ||||
-rw-r--r-- | spec/fabricators/sharekey_fabricator.rb | 4 | ||||
-rw-r--r-- | spec/models/imported_status_spec.rb | 5 | ||||
-rw-r--r-- | spec/models/sharekey_spec.rb | 5 |
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 |