Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The method #get_default_settings in LogicalInterconnectGroup is used on integration test #202

Closed
ricardogpsf opened this issue Mar 7, 2017 · 0 comments
Assignees

Comments

@ricardogpsf
Copy link
Member

ricardogpsf commented Mar 7, 2017

Scenario/Intent

The #get_default_settings method is used by integration test of LogicalInterconnectGroup of API 300 variant C7K, but this method was removed in current release (4.1.0)

Environment Details

  • OneView Client API Version: api300 - C7K

Steps to Reproduce

Run tests from spec/integration/resource/api300/c7000/logical_interconnect_group/create_spec.rb

Expected Result

All tests ok! The method should be removed from the tests.

Actual Result

OneviewSDK::API300::C7000::LogicalInterconnectGroup
  #create
    LIG with unrecognized interconnect
    LIG with interconnect of type HP VC FlexFabric-20/40 F8 Module
    LIG with interconnect and uplink sets
    LIG with interconnects
    Empty LIG
  #retrieve!
    retrieves the objects
  getters
    default settings
    default settings from the lig instance (FAILED - 1)
    current settings

Failures:

  1) OneviewSDK::API300::C7000::LogicalInterconnectGroup getters default settings from the lig instance
     Failure/Error: default_settings = @item.get_default_settings

     NoMethodError:
       undefined method `get_default_settings' for #<OneviewSDK::API300::C7000::LogicalInterconnectGroup:0x00000002b2fe10>
       Did you mean?  get_settings
     # ./spec/integration/resource/api300/c7000/logical_interconnect_group/create_spec.rb:142:in `block (3 levels) in <top (required)>'

Finished in 51 seconds (files took 1.08 seconds to load)
9 examples, 1 failure

Failed examples:
rspec ./spec/integration/resource/api300/c7000/logical_interconnect_group/create_spec.rb:141
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant