Skip to content

Commit

Permalink
Update code samples to be valid
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonhilkert committed Nov 13, 2015
1 parent df755bb commit 785fcd5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions 4.0-Upgrade.md
Expand Up @@ -29,9 +29,9 @@ gem 'redis-namespace'
assertions made against the Worker class still work as expected.
```ruby
assert_equal 0, Sidekiq::Queues["default"].size
HardWorker.perform_async(:something)
HardWorker.perform_async("log")
assert_equal 1, Sidekiq::Queues["default"].size
assert_equal :something, Sidekiq::Queues["default"].first['args'][0]
assert_equal "log", Sidekiq::Queues["default"].first['args'][0]
Sidekiq::Queues.clear_all
```

Expand Down
4 changes: 2 additions & 2 deletions Changes.md
Expand Up @@ -12,9 +12,9 @@
[#2659, brandonhilkert]
```ruby
assert_equal 0, Sidekiq::Queues["default"].size
HardWorker.perform_async(:something)
HardWorker.perform_async("log")
assert_equal 1, Sidekiq::Queues["default"].size
assert_equal :something, Sidekiq::Queues["default"].first['args'][0]
assert_equal "log", Sidekiq::Queues["default"].first['args'][0]
Sidekiq::Queues.clear_all
```

Expand Down

0 comments on commit 785fcd5

Please sign in to comment.