Fix tests
This commit is contained in:
parent
22ef6a7c29
commit
2b7c677a8c
|
@ -1,7 +1,7 @@
|
||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
RSpec.describe Onebox::Engine::TwitchClipsOnebox do
|
RSpec.describe Onebox::Engine::TwitchClipsOnebox do
|
||||||
let(:hostname) { "www.example.com" }
|
let(:hostname) { Discourse.current_hostname }
|
||||||
let(:options) { { hostname: hostname } }
|
let(:options) { { hostname: hostname } }
|
||||||
|
|
||||||
it "has the iframe with the correct channel" do
|
it "has the iframe with the correct channel" do
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
RSpec.describe Onebox::Engine::TwitchStreamOnebox do
|
RSpec.describe Onebox::Engine::TwitchStreamOnebox do
|
||||||
let(:hostname) { "www.example.com" }
|
let(:hostname) { Discourse.current_hostname }
|
||||||
let(:options) { { hostname: hostname } }
|
let(:options) { { hostname: hostname } }
|
||||||
|
|
||||||
it "has the iframe with the correct channel" do
|
it "has the iframe with the correct channel" do
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
RSpec.describe Onebox::Engine::TwitchVideoOnebox do
|
RSpec.describe Onebox::Engine::TwitchVideoOnebox do
|
||||||
let(:hostname) { "www.example.com" }
|
let(:hostname) { Discourse.current_hostname }
|
||||||
let(:options) { { hostname: hostname } }
|
let(:options) { { hostname: hostname } }
|
||||||
|
|
||||||
it "has the iframe with the correct channel" do
|
it "has the iframe with the correct channel" do
|
||||||
|
|
Loading…
Reference in New Issue