Class: FixtureValidationGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- FixtureValidationGenerator
- Defined in:
- lib/generators/fixture_validation_generator.rb
Instance Method Summary collapse
Instance Method Details
#create_test ⇒ Object
4 5 6 7 8 9 10 11 12 13 14 15 16 |
# File 'lib/generators/fixture_validation_generator.rb', line 4 def create_test create_file 'test/models/fixture_validation_test.rb' do <<END require 'test_helper' require 'fixture_validation' class FixtureValidationTest < ActiveSupport::TestCase include FixtureValidation end END end end |