about summary refs log tree commit diff
path: root/spec
diff options
context:
space:
mode:
Diffstat (limited to 'spec')
-rw-r--r--spec/controllers/api/oembed_controller_spec.rb5
-rw-r--r--spec/helpers/api/oembed_helper_spec.rb15
2 files changed, 20 insertions, 0 deletions
diff --git a/spec/controllers/api/oembed_controller_spec.rb b/spec/controllers/api/oembed_controller_spec.rb
new file mode 100644
index 000000000..758bfd1da
--- /dev/null
+++ b/spec/controllers/api/oembed_controller_spec.rb
@@ -0,0 +1,5 @@
+require 'rails_helper'
+
+RSpec.describe Api::OembedController, type: :controller do
+
+end
diff --git a/spec/helpers/api/oembed_helper_spec.rb b/spec/helpers/api/oembed_helper_spec.rb
new file mode 100644
index 000000000..4f64cb84f
--- /dev/null
+++ b/spec/helpers/api/oembed_helper_spec.rb
@@ -0,0 +1,15 @@
+require 'rails_helper'
+
+# Specs in this file have access to a helper object that includes
+# the Api::OembedHelper. For example:
+#
+# describe Api::OembedHelper do
+#   describe "string concat" do
+#     it "concats two strings with spaces" do
+#       expect(helper.concat_strings("this","that")).to eq("this that")
+#     end
+#   end
+# end
+RSpec.describe Api::OembedHelper, type: :helper do
+  pending "add some examples to (or delete) #{__FILE__}"
+end