Skip to content

Commit

Permalink
adding unit tests in C7000
Browse files Browse the repository at this point in the history
  • Loading branch information
yuvirani committed May 20, 2020
1 parent e862be5 commit 4f1b1bd
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/c7000/ethernet_network_spec.rb
@@ -0,0 +1,9 @@
require 'spec_helper'

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

it 'inherits from OneviewSDK::API1200::C7000::EthernetNetwork' do
expect(described_class).to be < OneviewSDK::API1200::C7000::EthernetNetwork
end
end
9 changes: 9 additions & 0 deletions spec/unit/resource/api1600/c7000/fc_network_spec.rb
@@ -0,0 +1,9 @@
require 'spec_helper'

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

it 'inherits from OneviewSDK::API1200::C7000::FCNetwork' do
expect(described_class).to be < OneviewSDK::API1200::C7000::FCNetwork
end
end
9 changes: 9 additions & 0 deletions spec/unit/resource/api1600/c7000/fcoe_network_spec.rb
@@ -0,0 +1,9 @@
require 'spec_helper'

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

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

0 comments on commit 4f1b1bd

Please sign in to comment.