• Markus Koller's avatar
    Fix Rails/SaveBang violations in migration specs · 0fb57d31
    Markus Koller authored
    Our table helper used in migration specs returns real ActiveRecord
    classes, so we can just switch to the bang variants.
    
    Auto-corrected with the following command:
    
    ```
    rubocop -A --only Rails/SaveBang \
      spec/migrations/**/*.rb \
      ee/spec/migrations/**/*.rb \
      spec/lib/gitlab/background_migration/**/*.rb \
      ee/spec/lib/gitlab/background_migration/**/*.rb
    ```
    
    In some specs we're not dealing with table helpers, in those cases
    an exclusion comment is added back next to the exception.
    0fb57d31
fill_file_store_lfs_objects_spec.rb 1.17 KB