mirror of
https://github.com/discourse/discourse.git
synced 2025-05-30 07:11:34 +08:00
DEV: Apply syntax_tree formatting to spec/*
This commit is contained in:
@ -3,13 +3,13 @@
|
||||
RSpec.describe GitUrl do
|
||||
it "handles the discourse github repo by ssh" do
|
||||
expect(GitUrl.normalize("git@github.com:discourse/discourse.git")).to eq(
|
||||
"ssh://git@github.com/discourse/discourse.git"
|
||||
"ssh://git@github.com/discourse/discourse.git",
|
||||
)
|
||||
end
|
||||
|
||||
it "handles the discourse github repo by https" do
|
||||
expect(GitUrl.normalize("https://github.com/discourse/discourse.git")).to eq(
|
||||
"https://github.com/discourse/discourse.git"
|
||||
"https://github.com/discourse/discourse.git",
|
||||
)
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user