mirror of
https://github.com/danbee/micropub.git
synced 2025-03-04 08:59:13 +00:00
Single → double quotes
This commit is contained in:
parent
8c26bcfc66
commit
dca44465e1
@ -9,7 +9,7 @@ describe "create post" do
|
||||
end
|
||||
|
||||
it "creates a simple post" do
|
||||
post '/micropub/main', {
|
||||
post "/micropub/main", {
|
||||
content: "Hello, World!"
|
||||
}
|
||||
|
||||
@ -20,12 +20,12 @@ describe "create post" do
|
||||
end
|
||||
|
||||
it "creates a post with a title" do
|
||||
post '/micropub/main', {
|
||||
post "/micropub/main", {
|
||||
title: "My money's in that office, right?",
|
||||
content: <<~CONTENT,
|
||||
If she start giving me some bullshit about it ain't there, and we got
|
||||
to go someplace else and get it, I'm gonna shoot you in the head then
|
||||
and there. Then I'm gonna shoot that bitch in the kneecaps, find out
|
||||
If she start giving me some bullshit about it ain"t there, and we got
|
||||
to go someplace else and get it, I"m gonna shoot you in the head then
|
||||
and there. Then I"m gonna shoot that bitch in the kneecaps, find out
|
||||
where my goddamn money is.
|
||||
CONTENT
|
||||
}
|
||||
@ -37,7 +37,7 @@ describe "create post" do
|
||||
end
|
||||
|
||||
it "creates a post with a single category" do
|
||||
post '/micropub/main', {
|
||||
post "/micropub/main", {
|
||||
content: "Hello, World!",
|
||||
category: "my-blog",
|
||||
}
|
||||
@ -49,7 +49,7 @@ describe "create post" do
|
||||
end
|
||||
|
||||
it "creates a post with multiple categories" do
|
||||
post '/micropub/main', {
|
||||
post "/micropub/main", {
|
||||
content: "Hello, World!",
|
||||
category: ["one", "two", "three"],
|
||||
}
|
||||
@ -59,4 +59,7 @@ describe "create post" do
|
||||
assert_equal last_response.headers["Location"],
|
||||
"https://test.danbarber.me/blog/#{date}/hello-world"
|
||||
end
|
||||
|
||||
it "creates a post with JSON" do
|
||||
end
|
||||
end
|
||||
|
||||
Loading…
Reference in New Issue
Block a user