Skip to content

Should use Object#public_send instead of Object#send. #28

@mbj

Description

@mbj

I just found that rspec-its is able to call private getters on subject, this is probably not intentional and a side effect from using Object#send instead of Object#public_send.

inner_subject.send(attr)

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