Capitalization...
This commit is contained in:
parent
4bb9370c5d
commit
2c141baf78
2 changed files with 10 additions and 10 deletions
|
|
@ -50,19 +50,19 @@ module Resque
|
|||
klass.send(:perform, *args)
|
||||
end
|
||||
end
|
||||
module Diaspora::Websocket
|
||||
def redis
|
||||
module Diaspora::WebSocket
|
||||
def self.redis
|
||||
FakeRedis.new
|
||||
end
|
||||
end
|
||||
class FakeRedis
|
||||
def rpop
|
||||
def rpop(*args)
|
||||
true
|
||||
end
|
||||
def llen
|
||||
def llen(*args)
|
||||
true
|
||||
end
|
||||
def lpush
|
||||
def lpush(*args)
|
||||
true
|
||||
end
|
||||
end
|
||||
|
|
|
|||
|
|
@ -38,19 +38,19 @@ RSpec.configure do |config|
|
|||
end
|
||||
end
|
||||
|
||||
module Diaspora::Websocket
|
||||
def redis
|
||||
module Diaspora::WebSocket
|
||||
def self.redis
|
||||
FakeRedis.new
|
||||
end
|
||||
end
|
||||
class FakeRedis
|
||||
def rpop
|
||||
def rpop(*args)
|
||||
true
|
||||
end
|
||||
def llen
|
||||
def llen(*args)
|
||||
true
|
||||
end
|
||||
def lpush
|
||||
def lpush(*args)
|
||||
true
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in a new issue