Lint pass (#8876)
This commit is contained in:
parent
928102284a
commit
1f98eae1cf
56 changed files with 55 additions and 79 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue