Add basic OEmbed provider API, fix #247
This commit is contained in:
parent
14bd46946d
commit
6ff93845d5
7 changed files with 65 additions and 0 deletions
5
spec/controllers/api/oembed_controller_spec.rb
Normal file
5
spec/controllers/api/oembed_controller_spec.rb
Normal file
|
@ -0,0 +1,5 @@
|
|||
require 'rails_helper'
|
||||
|
||||
RSpec.describe Api::OembedController, type: :controller do
|
||||
|
||||
end
|
15
spec/helpers/api/oembed_helper_spec.rb
Normal file
15
spec/helpers/api/oembed_helper_spec.rb
Normal file
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue