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

@ -5,9 +5,7 @@ RSpec.describe Onebox::Engine::ImgurOnebox do
let(:imgur) { described_class.new(link) }
let(:html) { imgur.to_html }
before do
stub_request(:get, link).to_return(status: 200, body: onebox_response("imgur"))
end
before { stub_request(:get, link).to_return(status: 200, body: onebox_response("imgur")) }
it "excludes html tags in title" do
imgur.stubs(:is_album?).returns(true)