terrible fix for 50 tests by stubbing WebSocket.stub in spec helper... warrenwarrents refator
This commit is contained in:
parent
fd5d7c63ad
commit
a6b36cb93e
1 changed files with 1 additions and 0 deletions
|
|
@ -31,6 +31,7 @@ Rspec.configure do |config|
|
||||||
|
|
||||||
config.before(:each) do
|
config.before(:each) do
|
||||||
DatabaseCleaner.start
|
DatabaseCleaner.start
|
||||||
|
WebSocket.stub!(:update_clients)
|
||||||
end
|
end
|
||||||
|
|
||||||
config.after(:each) do
|
config.after(:each) do
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue