Class: TestUnit::Generators::WidgetGenerator

Inherits:
Cells::Generators::Base
  • Object
show all
Defined in:
lib/generators/test_unit/widget_generator.rb

Instance Method Summary collapse

Instance Method Details

#create_testObject


8
9
10
11
# File 'lib/generators/test_unit/widget_generator.rb', line 8

def create_test
  @states = actions
  template 'widget_test.rb', File.join('test/widgets/', class_path, "#{file_name}_widget_test.rb")
end