mirror of
https://github.com/discourse/discourse.git
synced 2025-05-31 21:25:24 +08:00
DEV: Use proper wording for contexts in specs
This commit is contained in:

committed by
Loïc Guitaut

parent
02987e05d5
commit
3eaac56797
@ -41,7 +41,7 @@ RSpec.describe Admin::ImpersonateController do
|
||||
expect(session[:current_user_id]).to eq(admin.id)
|
||||
end
|
||||
|
||||
context 'success' do
|
||||
context 'with success' do
|
||||
it "succeeds and logs the impersonation" do
|
||||
expect do
|
||||
post "/admin/impersonate.json", params: { username_or_email: user.username }
|
||||
|
Reference in New Issue
Block a user