We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 03f98a0 commit 2860572Copy full SHA for 2860572
spec/generators/rspec/integration/integration_generator_spec.rb
@@ -1,8 +1,14 @@
1
# Generators are not automatically loaded by Rails
2
require 'generators/rspec/integration/integration_generator'
3
require 'support/generators'
4
+require 'rspec/core/warnings'
5
6
RSpec.describe Rspec::Generators::IntegrationGenerator, type: :generator do
7
setup_default_destination
8
it_behaves_like "a request spec generator"
9
+
10
+ it 'is deprecated' do
11
+ expect(RSpec).to receive(:warn_deprecation)
12
+ run_generator %w[posts]
13
+ end
14
end
0 commit comments