Skip to content

Commit

Permalink
Adjusting integration test in server profile template
Browse files Browse the repository at this point in the history
  • Loading branch information
aalexmonteiro committed Oct 30, 2017
1 parent e0bf612 commit 0f4b8f8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@
expect(log_int['ethernetSettings']['macRefreshInterval']).to eq(eth_set_backup['macRefreshInterval'])
end

xit 'will use update settings to do it' do
it 'will use update settings to do it' do
log_int.retrieve!
eth_set_backup = {}
eth_set_backup['igmpIdleTimeoutInterval'] = log_int['ethernetSettings']['igmpIdleTimeoutInterval']
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,8 @@
describe '#create_volume_with_attachment' do
it 'raises an exception when storage pool not found' do
item = described_class.new(current_client, name: 'any')
storage_pool = resource_class_of('StoragePool').new(current_client, name: 'any')
expect { item.create_volume_with_attachment(storage_pool, {}) }.to raise_error(OneviewSDK::IncompleteResource, /before trying to retrieve!/)
storage_pool = resource_class_of('StoragePool').new(current_client, name: 'any', storageSystemUri: '/rest/fake')
expect { item.create_volume_with_attachment(storage_pool, {}) }.to raise_error(OneviewSDK::IncompleteResource, /Storage Pool not found!/)
end

it 'creates a server profile template and a volume with attachment' do
Expand Down

0 comments on commit 0f4b8f8

Please sign in to comment.