Sha256: 0ae674a26d74cfaa71e6f79786a91977f64c72a44d6ed2a215dc2608979aa98f
Contents?: true
Size: 643 Bytes
Versions: 4
Compression:
Stored size: 643 Bytes
Contents
say "\nWhich Testing Framework would you like to use?\n", Thor::Shell::Color::BLUE testing_framework_options = { 'Option' => 'Testing Framework', '1' => 'rspec', '2' => 'TestUnit' } print_table testing_framework_options.to_a, :ident => 4 testing_framework_selection = ask("\nOption: ", Thor::Shell::Color::BLUE) if testing_framework_selection.present? templater.testing_framework.type = testing_framework_options[testing_framework_selection].underscore.to_sym end $stdout << "\n\n" apply templater.recipe('rspec') if templater.testing_framework.rspec? apply templater.recipe('test_unit') if templater.testing_framework.test_unit?
Version data entries
4 entries across 4 versions & 1 rubygems