mirror of
https://github.com/heartcombo/devise.git
synced 2022-11-09 12:18:31 -05:00
Silence controller generator warning output
This commit is contained in:
parent
952c162bee
commit
c043eca2b2
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ class ControllersGeneratorTest < Rails::Generators::TestCase
|
|||
setup :prepare_destination
|
||||
|
||||
test "Assert no controllers are created with no params" do
|
||||
run_generator
|
||||
capture(:stderr) { run_generator }
|
||||
assert_no_file "app/controllers/sessions_controller.rb"
|
||||
assert_no_file "app/controllers/registrations_controller.rb"
|
||||
assert_no_file "app/controllers/confirmations_controller.rb"
|
||||
|
|
Loading…
Reference in a new issue