Skip to content

Commit

Permalink
update formatting and spacing per hound sniffs
Browse files Browse the repository at this point in the history
  • Loading branch information
yuenmichelle1 committed Sep 5, 2024
1 parent bb75ab1 commit 1b8fdb8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion spec/controllers/api/v1/memberships_controller_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,8 @@
}
}
end
before(:each) do

before do
default_request scopes: scopes, user_id: authorized_user.id
post :create, params: params
end
Expand Down
2 changes: 1 addition & 1 deletion spec/operations/memberships/create_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
it 'disallows you to add yourself to an inactive group' do
inactive_user_group = create(:user_group, activated_state: :inactive)
expect do
operation.run links: {user: you.id, user_group: inactive_user_group.id}, join_token: inactive_user_group.join_token
operation.run links: { user: you.id, user_group: inactive_user_group.id }, join_token: inactive_user_group.join_token
end.to raise_error(Operation::Unauthorized)
end

Expand Down

0 comments on commit 1b8fdb8

Please sign in to comment.