mirror of
https://github.com/discourse/discourse.git
synced 2025-06-02 16:29:32 +08:00
refactored a bit & tested thumbnails creation
This commit is contained in:
@ -63,7 +63,6 @@ describe CookedPostProcessor do
|
||||
|
||||
before do
|
||||
FastImage.stubs(:size).returns([123, 456])
|
||||
ImageSorcery.any_instance.stubs(:convert).returns(false)
|
||||
creator = PostCreator.new(user, raw: Fabricate.build(:post_with_images).raw, topic_id: topic.id)
|
||||
@post = creator.create
|
||||
end
|
||||
|
Reference in New Issue
Block a user