mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: youtube preview video title link doesn't work
This commit is contained in:
@@ -47,8 +47,8 @@ describe TopicLinkClick do
|
||||
context 'without a url' do
|
||||
let(:click) { TopicLinkClick.create_from(url: "url that doesn't exist", post_id: @post.id, ip: '127.0.0.1') }
|
||||
|
||||
it "returns nil" do
|
||||
expect(click).to eq(nil)
|
||||
it "returns the url" do
|
||||
expect(click).to eq("url that doesn't exist")
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user