Class: Thincloud::TestGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Thincloud::TestGenerator
- Defined in:
- lib/generators/thincloud/test_generator.rb
Instance Method Summary collapse
Instance Method Details
#test ⇒ Object
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 |
# File 'lib/generators/thincloud/test_generator.rb', line 13 def test remove_test_unit setup_minitest_rails directory "support", "test/support" inject_into_file "config/application.rb", before: "if defined?(Bundler)" do <<-EOS # initialize thincloud-test-rails require "thincloud/test/rails/railtie"\n\n EOS end say_status "", "" say_status "success", "thincloud-test-rails has finished." end |