Lint pass (#8876)
This commit is contained in:
@ -24,7 +24,7 @@ describe Admin::InvitesController do
|
||||
subject { post :create, params: { invite: { max_uses: '10', expires_in: 1800 } } }
|
||||
|
||||
it 'succeeds to create a invite' do
|
||||
expect{ subject }.to change { Invite.count }.by(1)
|
||||
expect { subject }.to change { Invite.count }.by(1)
|
||||
expect(subject).to redirect_to admin_invites_path
|
||||
expect(Invite.last).to have_attributes(user_id: user.id, max_uses: 10)
|
||||
end
|
||||
|
Reference in New Issue
Block a user