Skip to content

Commit

Permalink
Adding unit tests for network resources
Browse files Browse the repository at this point in the history
  • Loading branch information
yuvirani committed May 20, 2020
1 parent a0032dd commit e862be5
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 0 deletions.
9 changes: 9 additions & 0 deletions spec/unit/resource/api1600/synergy/ethernet_network_spec.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
require 'spec_helper'

RSpec.describe OneviewSDK::API1600::Synergy::EthernetNetwork do
include_context 'shared context'

it 'inherits from OneviewSDK::API1200::Synergy::EthernetNetwork' do
expect(described_class).to be < OneviewSDK::API1200::Synergy::EthernetNetwork
end
end
9 changes: 9 additions & 0 deletions spec/unit/resource/api1600/synergy/fc_network_spec.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
require 'spec_helper'

RSpec.describe OneviewSDK::API1600::Synergy::FCNetwork do
include_context 'shared context'

it 'inherits from OneviewSDK::API1200::Synergy::FCNetwork' do
expect(described_class).to be < OneviewSDK::API1200::Synergy::FCNetwork
end
end
9 changes: 9 additions & 0 deletions spec/unit/resource/api1600/synergy/fcoe_network_spec.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
require 'spec_helper'

RSpec.describe OneviewSDK::API1600::Synergy::FCoENetwork do
include_context 'shared context'

it 'inherits from OneviewSDK::API1200::Synergy::FCoENetwork' do
expect(described_class).to be < OneviewSDK::API1200::Synergy::FCoENetwork
end
end

0 comments on commit e862be5

Please sign in to comment.