```ruby
# Generators are not automatically loaded by Rails
require 'generators/rspec/integration/integration_generator'
require 'support/generators'

RSpec.describe Rspec::Generators::IntegrationGenerator, type: :generator do
  setup_default_destination
  it_behaves_like "a request spec generator"
end
```

Add only one test for integration generator deprecation
user
```ruby
# Generators are not automatically loaded by Rails
require 'generators/rspec/integration/integration_generator'
require 'support/generators'
require 'rspec/core/warnings'

RSpec.describe Rspec::Generators::IntegrationGenerator, type: :generator do
  setup_default_destination
  it_behaves_like "a request spec generator"

  it 'is deprecated' do
    expect(RSpec).to receive(:warn_deprecation)
    run_generator %w[posts]
  end
end
```
assistant