Skip to content

controller is nil in global before(:each, :type => :controller) hook #391

@trkoch

Description

@trkoch
RSpec.configure do |config|
  config.before(:each, :type => :controller) do
     # controller is nil
  end
end

This has already been reported in the legacy branch, see https://github.com/dchelimsky/rspec/issues/23. I figured I move it to the correct branch, hope thats okay.

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