DEV: Apply syntax_tree formatting to spec/*

This commit is contained in:
David Taylor
2023-01-09 11:18:21 +00:00
parent 0cf6421716
commit cb932d6ee1
907 changed files with 58693 additions and 45909 deletions

View File

@ -7,11 +7,16 @@ RSpec.describe Onebox::Engine::HackernewsOnebox do
let(:html) { described_class.new(link).to_html }
before do
stub_request(:get, api_link).to_return(status: 200, body: onebox_response("hackernews_comment"))
stub_request(:get, api_link).to_return(
status: 200,
body: onebox_response("hackernews_comment"),
)
end
it "has the comments first words" do
expect(html).to include("Completely, forums are about basic human expression in paragraph form.")
expect(html).to include(
"Completely, forums are about basic human expression in paragraph form.",
)
end
it "has author username" do