Skip to content

Commit

Permalink
Add check provider_region is not set to nil for non-Google provider
Browse files Browse the repository at this point in the history
  • Loading branch information
ZitaNemeckova committed Apr 6, 2018
1 parent 4cd14de commit 7da0503
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,9 @@
it 'sets provider_region to nil for ManageIQ::Providers::Google::CloudManager' do
expect(ems_stub.where(:provider_region => nil).count).to eq 1
end

it 'does not set provider_region to nil for other providers' do
expect(ems_stub.where(:provider_region => 42).count).to eq 1
end
end
end

0 comments on commit 7da0503

Please sign in to comment.