1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Remove unneeded generator variable.

This commit is contained in:
Kasper Timm Hansen 2015-09-22 18:07:00 +02:00
parent 931c0861b4
commit 4aefd95945

View file

@ -109,7 +109,6 @@ module SharedGeneratorTests
template
end
generator = generator([destination_root], template: path)
generator([destination_root], template: path).stub(:open, check_open, template) do
quietly { assert_match(/It works!/, capture(:stdout) { generator.invoke_all }) }
end