DEV: fix test (missed a reference to master)

This commit is contained in:
Michael Brown
2021-07-19 12:41:48 -04:00
committed by Michael Brown
parent aa12d12c0b
commit 76a11e6dc9
2 changed files with 2 additions and 2 deletions

View File

@ -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