Skip to content

Commit a1b3a6c

Browse files
committed
Change active job spec to use literals thus avoiding Ruby 2.4.0 warning
1 parent 806b58e commit a1b3a6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/rspec/rails/matchers/active_job_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ def perform; end
212212
it "passes with provided argument matchers" do
213213
expect {
214214
hello_job.perform_later(42, "David")
215-
}.to have_enqueued_job.with(instance_of(Fixnum), instance_of(String))
215+
}.to have_enqueued_job.with(42, "David")
216216
end
217217

218218
it "generates failure message with all provided options" do

0 commit comments

Comments
 (0)