mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 16:34:31 +08:00
Convert a lot of :a => b to a: b and bring peace to the world
This commit is contained in:
@ -43,7 +43,7 @@ EXPECTED
|
||||
before do
|
||||
@topic = Fabricate(:topic)
|
||||
@post = Fabricate.build(:post_with_image_url, topic: @topic, user: @topic.user)
|
||||
@cpp = CookedPostProcessor.new(@post, :image_sizes => {'http://www.forumwarz.com/images/header/logo.png' => {'width' => 111, 'height' => 222}})
|
||||
@cpp = CookedPostProcessor.new(@post, image_sizes: {'http://www.forumwarz.com/images/header/logo.png' => {'width' => 111, 'height' => 222}})
|
||||
@cpp.expects(:get_size).returns([111,222])
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user