diff --git a/spec/fixtures/onebox/githubfolder.response b/spec/fixtures/onebox/githubfolder.response index 81198e89653..6de88c2be87 100644 --- a/spec/fixtures/onebox/githubfolder.response +++ b/spec/fixtures/onebox/githubfolder.response @@ -650,7 +650,7 @@ - +
diff --git a/spec/lib/onebox/engine/github_folder_onebox_spec.rb b/spec/lib/onebox/engine/github_folder_onebox_spec.rb index 6a9d0c18a3a..3212b0dfae4 100644 --- a/spec/lib/onebox/engine/github_folder_onebox_spec.rb +++ b/spec/lib/onebox/engine/github_folder_onebox_spec.rb @@ -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("master/spec/fixtures") + expect(html).to include('main/spec/fixtures') end it "includes repository name" do