Skip to content

Commit

Permalink
[frontend] Remove rubocop disable
Browse files Browse the repository at this point in the history
Fix Lint/AmbiguousBlockAssociation offense by adding parantheses and
remove rubocop disable.
  • Loading branch information
bgeuken committed Oct 15, 2017
1 parent 477c83f commit a647b34
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/api/spec/models/bs_request_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -273,9 +273,7 @@
end

it 'does not change the priority of the bs request' do
# rubocop:disable Lint/AmbiguousBlockAssociation
expect { bs_request.sanitize! }.not_to change{ HistoryElement::RequestPriorityChange.count }
# rubocop:enable Lint/AmbiguousBlockAssociation
expect { bs_request.sanitize! }.not_to(change { HistoryElement::RequestPriorityChange.count })
expect(bs_request.priority).to eq('moderate')
end
end
Expand Down

0 comments on commit a647b34

Please sign in to comment.