Skip to content

Commit 5d2c5ed

Browse files
committed
Testing CI without mountable_engine? stub that leaking to other specs
Other specs always refere to mountable_engine? Like: 99) Rspec::Generators::ScaffoldGenerator standard controller spec with --controller_specs Failure/Error: before { run_generator %w[posts --controller_specs] } Thor::UndefinedCommandError: Could not find command "mountable_engine?". Like if the stub was leaking
1 parent fb018f1 commit 5d2c5ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/generators/rspec/scaffold/scaffold_generator_spec.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
it { is_expected.to contain('renders a JSON response with errors for the post') }
4141
end
4242

43-
describe 'in an engine' do
43+
xdescribe 'in an engine' do
4444
before do
4545
allow_any_instance_of(::Rails::Generators::NamedBase).to receive(:mountable_engine?).and_return(true)
4646
run_generator %w[posts --request_specs]

0 commit comments

Comments
 (0)