mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 02:41:13 +08:00
UX: Use committed date for GitHub oneboxes (#16318)
Our copy says 'committed {date}`, but we were previously using the commit's authored date
This commit is contained in:
@ -38,7 +38,7 @@ describe Onebox::Engine::GithubCommitOnebox do
|
||||
end
|
||||
|
||||
it "includes commit time and date" do
|
||||
expect(html).to include("02:03AM - 02 Aug 13")
|
||||
expect(html).to include("02:16AM - 02 Aug 13 UTC")
|
||||
end
|
||||
|
||||
it "includes number of files changed" do
|
||||
@ -94,7 +94,7 @@ describe Onebox::Engine::GithubCommitOnebox do
|
||||
end
|
||||
|
||||
it "includes commit time and date" do
|
||||
expect(html).to include("02:03AM - 02 Aug 13")
|
||||
expect(html).to include("02:16AM - 02 Aug 13 UTC")
|
||||
end
|
||||
|
||||
it "includes number of files changed" do
|
||||
|
Reference in New Issue
Block a user