Skip to content

Add a regression test for a removed method in 6.1 #2455

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 2, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions spec/rspec/rails/matchers/active_job_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -702,4 +702,16 @@ def self.name; "LoggingJob"; end
}.to raise_error(/expected to perform exactly 1 jobs, but performed 0/)
end
end

describe 'Active Job test helpers' do
include ActiveJob::TestHelper

it 'does not raise that "assert_nothing_raised" is undefined' do
expect {
perform_enqueued_jobs do
:foo
end
}.to_not raise_error
end
end
end