diff --git a/spec/generators/rspec/controller/controller_generator_spec.rb b/spec/generators/rspec/controller/controller_generator_spec.rb index 4143af50fe..3885194abf 100644 --- a/spec/generators/rspec/controller/controller_generator_spec.rb +++ b/spec/generators/rspec/controller/controller_generator_spec.rb @@ -115,6 +115,11 @@ end end end + + describe 'are removed' do + subject { run_generator %w[posts], behavior: :revoke } + it { is_expected.to match('remove spec/views/posts') } + end end describe 'routing spec' do