Disabled image resizing in specs => 15% faster test suite. FTW
This commit is contained in:
parent
f2ddb8a39c
commit
64e1912c37
1 changed files with 3 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue