Skip to content

anonymous controllers in integration specs #1596

Closed
@oliviermilla

Description

@oliviermilla

Hello,

I need to use anonymous controllers in a :request spec to test different API auth methods. As of rspec-rails 3.4.2, :request specs do not have access to the controllermethod as controller specs do. I think it makes sense to allow anonymouse controller in integration tests by default, even more considering that Rails 5 is leaning towards integrations tests vs controller tests.

What do you think?

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