Skip to content

Support for config.include & spec helper utils #12

@ShadiestGoat

Description

@ShadiestGoat
# spec_helper.rb

module Test
  def secret_func
  end
end

Rspec.configure do |config|
   config.include Test
end
# spec/example/example.rb

describe SomeClass do
  it 'should complete here' do
    sec|
  end
end

secret_func should have auto completion.

This is also a requirement for factory bot support, since thats how factory bot gets included in your specs

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions