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:
parent
931c0861b4
commit
4aefd95945
1 changed files with 0 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue