mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 07:53:49 +08:00
DEV: fix test (missed a reference to master)
This commit is contained in:

committed by
Michael Brown

parent
aa12d12c0b
commit
76a11e6dc9
@ -16,7 +16,7 @@ describe Onebox::Engine::GithubFolderOnebox do
|
||||
|
||||
describe "#to_html" do
|
||||
it "includes link to folder with truncated display path" do
|
||||
expect(html).to include("<a href=\"https://github.com/discourse/discourse/tree/main/spec/fixtures\" target=\"_blank\" rel=\"noopener\">master/spec/fixtures</a>")
|
||||
expect(html).to include('<a href="https://github.com/discourse/discourse/tree/main/spec/fixtures" target="_blank" rel="noopener">main/spec/fixtures</a>')
|
||||
end
|
||||
|
||||
it "includes repository name" do
|
||||
|
Reference in New Issue
Block a user