Skip to content

Commit

Permalink
Merge pull request #13768 from isimluk/euwe-fix-travis
Browse files Browse the repository at this point in the history
[EUWE] Fix failing specs after recent backports
  • Loading branch information
simaishi authored Feb 6, 2017
2 parents 64ebc5c + ffe6b61 commit 2ac6423
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion spec/models/chargeback_vm_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,8 @@ def used_average_for(metric, hours_in_interval)
before do
@tenant = FactoryGirl.create(:tenant)
@tenant_child = FactoryGirl.create(:tenant, :ancestry => @tenant.id)
@vm_tenant = FactoryGirl.create(:vm_vmware, :tenant_id => @tenant_child.id, :name => "test_vm_tenant")
@vm_tenant = FactoryGirl.create(:vm_vmware, :tenant_id => @tenant_child.id, :name => "test_vm_tenant",
:created_on => month_beginning)
["2012-08-31T07:00:00Z", "2012-08-31T08:00:00Z", "2012-08-31T09:00:00Z", "2012-08-31T10:00:00Z"].each do |t|
@vm_tenant.metric_rollups <<
FactoryGirl.create(:metric_rollup_vm_hr,
Expand Down

0 comments on commit 2ac6423

Please sign in to comment.