diff options
Diffstat (limited to 'spec/models/ci_platform_metric_spec.rb')
-rw-r--r-- | spec/models/ci_platform_metric_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/ci_platform_metric_spec.rb b/spec/models/ci_platform_metric_spec.rb index e59730792b8..1f25f10c5d2 100644 --- a/spec/models/ci_platform_metric_spec.rb +++ b/spec/models/ci_platform_metric_spec.rb @@ -5,7 +5,7 @@ require 'spec_helper' RSpec.describe CiPlatformMetric, feature_category: :continuous_integration do subject { build(:ci_platform_metric) } - it_behaves_like 'a BulkInsertSafe model', CiPlatformMetric do + it_behaves_like 'a BulkInsertSafe model', described_class do let(:valid_items_for_bulk_insertion) { build_list(:ci_platform_metric, 10) } let(:invalid_items_for_bulk_insertion) { [] } # class does not have any non-constraint validations defined end |