module GeneratorSpec::TestCase::ClassMethods
Public Instance Methods
arguments(array)
click to toggle source
# File lib/generator_spec/test_case.rb, line 27 def arguments(array) self.test_case.default_arguments = array end
destination(path)
click to toggle source
# File lib/generator_spec/test_case.rb, line 31 def destination(path) self.test_case.destination_root = path end
tests(klass)
click to toggle source
# File lib/generator_spec/test_case.rb, line 23 def tests(klass) self.test_case.generator_class = klass end