lib/generators/context/context_generator.rb in dicer-0.0.1 vs lib/generators/context/context_generator.rb in dicer-0.1.0
- old
+ new
@@ -20,9 +20,11 @@
"#{file_name}_context.rb"
)
)
end
+ hook_for :test_framework
+
private
def parent_class_name
options[:parent] || defined?(ApplicationContext) ?
'ApplicationContext' : 'Dicer::Context'
end