summaryrefslogtreecommitdiff
path: root/spec/frontend/members/components/action_buttons/resend_invite_button_spec.js
diff options
context:
space:
mode:
Diffstat (limited to 'spec/frontend/members/components/action_buttons/resend_invite_button_spec.js')
-rw-r--r--spec/frontend/members/components/action_buttons/resend_invite_button_spec.js8
1 files changed, 3 insertions, 5 deletions
diff --git a/spec/frontend/members/components/action_buttons/resend_invite_button_spec.js b/spec/frontend/members/components/action_buttons/resend_invite_button_spec.js
index a48942dd277..05ea0dc2886 100644
--- a/spec/frontend/members/components/action_buttons/resend_invite_button_spec.js
+++ b/spec/frontend/members/components/action_buttons/resend_invite_button_spec.js
@@ -57,10 +57,8 @@ describe('ResendInviteButton', () => {
it('displays form with correct action and inputs', () => {
expect(findForm().attributes('action')).toBe('/groups/foo-bar/-/group_members/1/resend_invite');
- expect(
- findForm()
- .find('input[name="authenticity_token"]')
- .attributes('value'),
- ).toBe('mock-csrf-token');
+ expect(findForm().find('input[name="authenticity_token"]').attributes('value')).toBe(
+ 'mock-csrf-token',
+ );
});
});