```ruby
require 'clearance/testing/assertion_error'
require 'clearance/testing/deny_access_matcher'
require 'clearance/testing/helpers'

Clearance.configure do |config|
  config.password_strategy = Clearance::PasswordStrategies::Fake
end

if defined?(ActionController::TestCase)
  ActionController::TestCase.extend Clearance::Testing::Matchers

  class ActionController::TestCase
    include Clearance::Testing::Helpers
  end
end

if defined?(RSpec) && RSpec.respond_to?(:configure)
  RSpec.configure do |config|
    config.include Clearance::Testing::Matchers
    config.include Clearance::Testing::Helpers
  end
end
```

Include certain helpers only for controller specs
user
```ruby
require 'clearance/testing/assertion_error'
require 'clearance/testing/deny_access_matcher'
require 'clearance/testing/helpers'

Clearance.configure do |config|
  config.password_strategy = Clearance::PasswordStrategies::Fake
end

if defined?(ActionController::TestCase)
  ActionController::TestCase.extend Clearance::Testing::Matchers

  class ActionController::TestCase
    include Clearance::Testing::Helpers
  end
end

if defined?(RSpec) && RSpec.respond_to?(:configure)
  RSpec.configure do |config|
    config.include Clearance::Testing::Matchers
    config.include Clearance::Testing::Helpers, :type => :controller
  end
end
```
assistant