Commit 26b53b29 authored by Abdul Wadood's avatar Abdul Wadood

Disable rubocop Rails/SaveBang in boards_resolver_spec.rb

As `create!` is not defined for RSpec::ExampleGroups.
parent 3eb52f15
......@@ -54,7 +54,7 @@ RSpec.describe Resolvers::BoardsResolver do
end
it 'returns nil if board not found' do
outside_parent = create!(board_parent.class.underscore.to_sym)
outside_parent = create(board_parent.class.underscore.to_sym) # rubocop:disable Rails/SaveBang
outside_board = create(:board, name: 'outside board', resource_parent: outside_parent)
expect(resolve_boards(args: { id: global_id_of(outside_board) })).to eq Board.none
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment