Add rubocop for expect on Gitlab::Tracking#event
Adds a new RuboCop cop for protecting against doing expect(Gitlab::Tracking).to receive(:event) within specs. All existing offending files are added to the .rubocop_todo.yml file and should be converted at our earliest convenience.
Showing
Please register or sign in to comment