Disable unit test generation

g.test_framework = :testunit (or test_unit) does not work
out of the box.

https://stackoverflow.com/questions/12148611/rails-generators-not-
generating-the-proper-test-templates
This commit is contained in:
Artur Beljajev 2017-10-30 10:43:51 +02:00
parent 458c99f437
commit 21f8e15f65

View file

@ -60,7 +60,7 @@ module Registry
g.helper false g.helper false
g.template_engine :erb g.template_engine :erb
g.jbuilder false g.jbuilder false
g.test_framework :minitest, fixture: false g.test_framework nil
end end
registrant_portal_uri = URI.parse(ENV['registrant_url']) registrant_portal_uri = URI.parse(ENV['registrant_url'])