mirror of
https://github.com/discourse/discourse.git
synced 2025-05-31 20:45:35 +08:00
DEV: Apply syntax_tree formatting to spec/*
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user