Skip to content

Commit

Permalink
Remove comment to disable a rubocop cop
Browse files Browse the repository at this point in the history
Style/BracesAroundHashParameters was removed in version '0.80.0'
  • Loading branch information
DavidKang committed Feb 24, 2020
1 parent 887c8e3 commit 119c1dc
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/api/spec/models/project/staging_project_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -55,14 +55,12 @@
subject { staging_project.missing_reviews }

it 'contains all open reviews of staged requests' do
# rubocop:disable Style/BracesAroundHashParameters
expect(subject).to contain_exactly(
{ id: review_1.id, request: submit_request.number, state: 'new', package: target_package.name, creator: user.login, by: other_user.login, review_type: 'by_user' },
{ id: review_2.id, request: submit_request.number, state: 'new', package: target_package.name, creator: user.login, by: group.title, review_type: 'by_group' },
{ id: review_3.id, request: submit_request.number, state: 'new', package: target_package.name, creator: user.login, by: other_package.project.name, review_type: 'by_project' },
{ id: review_4.id, request: submit_request.number, state: 'new', package: target_package.name, creator: user.login, by: other_package.name, review_type: 'by_package' }
)
# rubocop:enable Style/BracesAroundHashParameters
end

context 'when there is an accepted review' do
Expand Down

0 comments on commit 119c1dc

Please sign in to comment.