mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Update rubocop to 2.3.1.
This commit is contained in:
@@ -164,16 +164,15 @@ describe Admin::BadgesController do
|
||||
end
|
||||
|
||||
it 'updates the user title in a job' do
|
||||
Jobs.expects(:enqueue).with(
|
||||
:bulk_user_title_update,
|
||||
expect_enqueued_with(job: :bulk_user_title_update, args: {
|
||||
new_title: 'Shieldbearer',
|
||||
granted_badge_id: badge.id,
|
||||
action: Jobs::BulkUserTitleUpdate::UPDATE_ACTION
|
||||
)
|
||||
|
||||
put "/admin/badges/#{badge.id}.json", params: {
|
||||
name: "Shieldbearer"
|
||||
}
|
||||
}) do
|
||||
put "/admin/badges/#{badge.id}.json", params: {
|
||||
name: "Shieldbearer"
|
||||
}
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user