Skip to content

mock_auth doesn't redirect to success url with rspec 3.7.0 #918

@anaumov

Description

@anaumov

Configuration

  • Provider Gem: omniauth-1.7.1
  • Ruby Version: 2.4.2p198
  • Framework: rails (5.1.4)
  • Platform: mac

Expected Behavior

When using mock_auth I expect to all requests to twiiter API will redirected to success url immediately.

Actual Behavior

After updating to rspec 3.7.0 mock_auth stops intercept requests to twitter API. It prompt twitter form to user (capybara).

Steps to Reproduce

use rspec 3.7.0 with capybara and omniauth.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions