mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
fix malformed test data
This commit is contained in:
parent
1459ff3f5d
commit
c446782932
1 changed files with 4 additions and 4 deletions
|
@ -161,7 +161,7 @@ class TestWeb < Sidekiq::Test
|
|||
|
||||
it 'can delete a queue' do
|
||||
Sidekiq.redis do |conn|
|
||||
conn.rpush('queue:foo', '{}')
|
||||
conn.rpush('queue:foo', '{\"args\":[]}')
|
||||
conn.sadd('queues', 'foo')
|
||||
end
|
||||
|
||||
|
@ -179,9 +179,9 @@ class TestWeb < Sidekiq::Test
|
|||
|
||||
it 'can delete a job' do
|
||||
Sidekiq.redis do |conn|
|
||||
conn.rpush('queue:foo', "{}")
|
||||
conn.rpush('queue:foo', "{\"foo\":\"bar\"}")
|
||||
conn.rpush('queue:foo', "{\"foo2\":\"bar2\"}")
|
||||
conn.rpush('queue:foo', "{\"args\":[]}")
|
||||
conn.rpush('queue:foo', "{\"foo\":\"bar\",\"args\":[]}")
|
||||
conn.rpush('queue:foo', "{\"foo2\":\"bar2\",\"args\":[]}")
|
||||
end
|
||||
|
||||
get '/queues/foo'
|
||||
|
|
Loading…
Reference in a new issue