Skip to content

Trying to understand stubbing in the examples #136

Closed
@russellshackleford

Description

@russellshackleford

While looking at the README and then looking at the panos, apt, meraki, and hue_rsapi examples, all of them stub provider and then disable the rubocop test for stubbing it. I'm not very familiar with rspec, but I'm wondering: is there an alternative manner of injecting dummy data so that the return from the real method call is actually tested?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions