Disabled image resizing in specs => 15% faster test suite. FTW

This commit is contained in:
Sarah Mei 2010-09-26 00:40:40 -07:00
parent f2ddb8a39c
commit 64e1912c37

View file

@ -41,6 +41,9 @@ RSpec.configure do |config|
DatabaseCleaner.clean
end
end
ImageUploader.enable_processing = false
def stub_sockets
Diaspora::WebSocket.stub!(:queue_to_user).and_return(true)
Diaspora::WebSocket.stub!(:subscribe).and_return(true)