Skip to content

Commit

Permalink
Merge pull request #881 from d-m-u/fix_specs
Browse files Browse the repository at this point in the history
fix alert definitions specs
  • Loading branch information
gtanzillo authored Aug 13, 2020
2 parents d782a29 + 471804c commit 68dc9a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/requests/alert_definitions_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"id" => alert_definition.id.to_s,
"description" => alert_definition.description,
"guid" => alert_definition.guid,
"expression" => {"exp" => {"=" => {"field" => "Vm-name", "value" => "foo"}}, "context_type" => nil}
"expression" => {"col_details" => nil, "context_type" => nil, "exp" => {"=" => {"field" => "Vm-name", "value" => "foo"}}, "ruby" => nil}
)
end

Expand Down Expand Up @@ -256,7 +256,7 @@

expect(response).to have_http_status(:ok)
expect(response.parsed_body).to include(
"miq_expression" => {"exp" => exp, "context_type" => nil}
"miq_expression" => {"col_details" => nil, "context_type" => nil, "exp" => {"=" => {"field" => "Vm-name", "value" => "foo"}}, "ruby" => nil}
)
end

Expand Down

0 comments on commit 68dc9a2

Please sign in to comment.