about summary refs log tree commit diff
path: root/spec
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-11-30 23:01:03 +0100
committerEugen Rochko <eugen@zeonfederated.com>2016-11-30 23:01:03 +0100
commit6ff93845d55eb34fc8beceb0c2dde06860c1eb47 (patch)
tree4097796e3dc6daf8678c44473ba7611e025b618c /spec
parent14bd46946d25186044485aa101dd2da976b61181 (diff)
Add basic OEmbed provider API, fix #247
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