rspec-enqueue_sidekiq_job 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fd0c9c908d8b5d66147c200db858761612753d03876c5c62fdeac9a242c45f6b
4
- data.tar.gz: f3c7addea743b7633c4a092c42f6b088efa2da0bac283b4f00216c3d7d846ebb
3
+ metadata.gz: d259e0f5317a14c23bcbb2e259afb45c3cc822ed8eade111c723b957048010f9
4
+ data.tar.gz: 59b9652a42269fb8c904d5f381801d7ee678ab866f8e5639b14af8e1a2fd267f
5
5
  SHA512:
6
- metadata.gz: a86985a4d7eb8f10a9acb8aebd6482378a0755aaf7e4279bcd467bd75fe69457899571c05d78095205446feb97c32ae06e214b0ed15d004f16799446cb782901
7
- data.tar.gz: '081f36bb0d2ee2ee5b1579199eac0061666fb5bd643fda231cda2c73641651183e76dbffd8b68bf33c311069d6f422eb8c90bf5d4698bab8fbaddcdcdd9880de'
6
+ metadata.gz: 30809f2c8338043ff9dd69bd9764a5089d5a277e8cdfd202ce1dac6afaf304851f44af83476bbda32e8c629975b117e7d55f0e9cfbbe43141867b47f4cdefc0a
7
+ data.tar.gz: 432c0d44386e94336362542c00a5ca810916b4860d680cb715f0c3da1ef65175082f49be90f7058c268069a9b8fe07f5f4897c80f6a1915b059dbf84f500bed1
data/README.md CHANGED
@@ -5,7 +5,7 @@
5
5
  ```ruby
6
6
  # Gemfile
7
7
  group :test do
8
- gem 'rspec-enqueue_sidekiq_job', require: 'rspec/enqueue_sidekiq_job'
8
+ gem 'rspec-enqueue_sidekiq_job'
9
9
  end
10
10
  ```
11
11
 
@@ -32,9 +32,7 @@ module RSpec
32
32
  @worker_class = worker_class
33
33
  end
34
34
 
35
- def with(*expected_arguments, **kwargs)
36
- raise 'keyword arguments serialization is not supported by Sidekiq' unless kwargs.empty?
37
-
35
+ def with(*expected_arguments)
38
36
  @expected_arguments = expected_arguments
39
37
  self
40
38
  end
@@ -1,5 +1,5 @@
1
1
  module RSpec
2
2
  module EnqueuedSidekiqJob
3
- VERSION = '1.0.1'.freeze
3
+ VERSION = '1.0.2'.freeze
4
4
  end
5
5
  end
@@ -171,13 +171,6 @@ RSpec.describe RSpec::EnqueuedSidekiqJob do
171
171
  end
172
172
 
173
173
  context 'with arguments' do
174
- it 'fails with kwargs' do
175
- expect {
176
- expect { worker.perform_async }
177
- .to enqueue_sidekiq_job(worker).with(42, name: 'David')
178
- }.to raise_error(/keyword arguments serialization is not supported by Sidekiq/)
179
- end
180
-
181
174
  it 'passes with provided arguments' do
182
175
  expect { worker.perform_async(42, 'David') }
183
176
  .to enqueue_sidekiq_job(worker).with(42, 'David')
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec-enqueue_sidekiq_job
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Phil Pirozhkov