Skip to content

Commit

Permalink
added spec for server hardware
Browse files Browse the repository at this point in the history
  • Loading branch information
VenkateshRavula committed Jul 30, 2020
1 parent 578b723 commit 4024582
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions spec/unit/provider/oneview_server_hardware_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,16 @@
expect(provider.get_bios).to be
end

it 'should return the local storage' do
expect_any_instance_of(resource_type).to receive(:get_local_storage).and_return('Fake Get Local Storage')
expect(provider.get_local_storage).to be
end

it 'should return the local storagev2' do
expect_any_instance_of(resource_type).to receive(:get_local_storagev2).and_return('Fake Get Local StorageV2')
expect(provider.get_local_storagev2).to be
end

it 'should return the ilo sso url' do
expect_any_instance_of(resource_type).to receive(:get_ilo_sso_url).and_return('Fake get_ilo_sso_url')
expect(provider.get_ilo_sso_url).to be
Expand Down

0 comments on commit 4024582

Please sign in to comment.