Skip to content

Commit

Permalink
Not sure how this ever worked... ¯\_(ツ)_/¯
Browse files Browse the repository at this point in the history
  • Loading branch information
bdunne committed Jan 8, 2018
1 parent 7eeecbe commit 6a5e90a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/models/miq_alert_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@
it "miq_alert_status.description = miq_alert.description event if overriden by ems_event.description" do
@alert.evaluate(
[@vm.class.base_class.name, @vm.id],
:ems_event => FactoryGirl.create(:ems_event, :message => "oh no!", :type => 'WhateverEvent')
:ems_event => FactoryGirl.create(:ems_event, :message => "oh no!")
)
mas = @alert.miq_alert_statuses.where(:resource_type => @vm.class.base_class.name, :resource_id => @vm.id).first
expect(mas.description).to eq("VM Unregistered")
Expand Down

0 comments on commit 6a5e90a

Please sign in to comment.