1
0
Fork 0
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:
Lucas Mazza 2014-09-18 18:24:26 -03:00
parent 952c162bee
commit c043eca2b2

View file

@ -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"