Skip to content

Commit

Permalink
Merge pull request ManageIQ#14131 from vecerek/add_metric_rollup_factory
Browse files Browse the repository at this point in the history
Add metric_rollup factory
  • Loading branch information
Fryguy authored Mar 2, 2017
2 parents da2c0ca + 74b6839 commit cdf1dcf
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions spec/factories/metric_rollup.rb
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,9 @@
capture_interval_name "daily"
resource_type "ExtManagementSystem"
end

factory :metric_rollup_storage_hr, :parent => :metric_rollup, :class => :MetricRollup do
capture_interval_name "hourly"
resource_type "Storage"
end
end

0 comments on commit cdf1dcf

Please sign in to comment.