From dae7cda4abe135b3bb5fe9cfb3380721a2feb03e Mon Sep 17 00:00:00 2001 From: multiple creatures Date: Wed, 11 Dec 2019 22:00:22 -0600 Subject: move sharekeys & import metadata to own tables --- spec/fabricators/imported_status_fabricator.rb | 4 ++++ spec/fabricators/sharekey_fabricator.rb | 4 ++++ spec/models/imported_status_spec.rb | 5 +++++ spec/models/sharekey_spec.rb | 5 +++++ 4 files changed, 18 insertions(+) create mode 100644 spec/fabricators/imported_status_fabricator.rb create mode 100644 spec/fabricators/sharekey_fabricator.rb create mode 100644 spec/models/imported_status_spec.rb create mode 100644 spec/models/sharekey_spec.rb (limited to 'spec') 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 -- cgit