Skip to content

Commit

Permalink
Rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
dreikanter committed Oct 27, 2024
1 parent 95f9e8d commit b6de708
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions spec/lib/freefeed/downloader_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
.to_return(
status: 200,
body: binary_content,
headers: { "Content-Type" => "image/jpeg" }
headers: {"Content-Type" => "image/jpeg"}
)
end

Expand Down Expand Up @@ -114,7 +114,7 @@
.to_return(
status: 200,
body: binary_content,
headers: { "Content-Type" => mime_type }
headers: {"Content-Type" => mime_type}
)
end

Expand All @@ -134,7 +134,7 @@
.to_return(
status: 200,
body: "",
headers: { "Content-Type" => "text/plain" }
headers: {"Content-Type" => "text/plain"}
)
end

Expand Down
4 changes: 2 additions & 2 deletions spec/lib/freefeed/v1/attachments_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
.to_return(
status: 200,
body: "fake image content",
headers: { "Content-Type" => "image/jpeg" }
headers: {"Content-Type" => "image/jpeg"}
)

# Stub the attachment creation
Expand All @@ -83,7 +83,7 @@
.to_return(
status: 200,
body: attachment_response,
headers: { "Content-Type" => "application/json" }
headers: {"Content-Type" => "application/json"}
)

result = client.create_attachment_from(url: remote_url)
Expand Down

0 comments on commit b6de708

Please sign in to comment.