Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
soodpr
committed
Mar 16, 2018
1 parent
3142436
commit febbb41
Showing
8 changed files
with
26 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
spec/integration/resource/api600/synergy/sas_logical_interconnect/create_spec.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
require 'spec_helper' | ||
|
||
klass = OneviewSDK::API500::Synergy::SASLogicalInterconnect | ||
klass = OneviewSDK::API600::Synergy::SASLogicalInterconnect | ||
RSpec.describe klass, integration: true, type: CREATE, sequence: seq(klass) do | ||
let(:current_client) { $client_500_synergy } | ||
include_examples 'SASLogicalInterconnectCreateExample', 'integration api500 context' | ||
let(:current_client) { $client_600_synergy } | ||
include_examples 'SASLogicalInterconnectCreateExample', 'integration api600 context' | ||
end |
6 changes: 3 additions & 3 deletions
6
spec/integration/resource/api600/synergy/sas_logical_interconnect/delete_spec.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
require 'spec_helper' | ||
|
||
klass = OneviewSDK::API500::Synergy::SASLogicalInterconnect | ||
klass = OneviewSDK::API600::Synergy::SASLogicalInterconnect | ||
RSpec.describe klass, integration: true, type: DELETE, sequence: rseq(klass) do | ||
let(:current_client) { $client_500_synergy } | ||
include_examples 'SASLogicalInterconnectDeleteExample', 'integration api500 context' | ||
let(:current_client) { $client_600_synergy } | ||
include_examples 'SASLogicalInterconnectDeleteExample', 'integration api600 context' | ||
end |
8 changes: 4 additions & 4 deletions
8
spec/integration/resource/api600/synergy/sas_logical_interconnect/update_spec.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
require 'spec_helper' | ||
|
||
klass = OneviewSDK::API500::Synergy::SASLogicalInterconnect | ||
klass = OneviewSDK::API600::Synergy::SASLogicalInterconnect | ||
RSpec.describe klass, integration: true, type: UPDATE do | ||
let(:current_client) { $client_500_synergy } | ||
let(:firmware_driver_class) { OneviewSDK::API500::Synergy::FirmwareDriver } | ||
let(:current_client) { $client_600_synergy } | ||
let(:firmware_driver_class) { OneviewSDK::API600::Synergy::FirmwareDriver } | ||
|
||
include_examples 'SASLogicalInterconnectUpdateExample', 'integration api500 context' | ||
include_examples 'SASLogicalInterconnectUpdateExample', 'integration api600 context' | ||
end |
6 changes: 3 additions & 3 deletions
6
spec/unit/resource/api600/synergy/sas_logical_interconnect_spec.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
require 'spec_helper' | ||
|
||
RSpec.describe OneviewSDK::API500::Synergy::SASLogicalInterconnect do | ||
RSpec.describe OneviewSDK::API600::Synergy::SASLogicalInterconnect do | ||
include_context 'shared context' | ||
|
||
it 'inherits from OneviewSDK::API300::Synergy::SASLogicalInterconnect' do | ||
expect(described_class).to be < OneviewSDK::API300::Synergy::SASLogicalInterconnect | ||
it 'inherits from OneviewSDK::API500::Synergy::SASLogicalInterconnect' do | ||
expect(described_class).to be < OneviewSDK::API500::Synergy::SASLogicalInterconnect | ||
end | ||
end |