lib/venom/generators/workshop.rb in venom-0.0.4 vs lib/venom/generators/workshop.rb in venom-0.0.5
- old
+ new
@@ -73,9 +73,13 @@
end
def copy_hooks
template "hooks.rb.tt", "#{name}/specs/support/hooks.rb"
end
+
+ def copy_errors
+ copy_file "errors.rb", "#{name}/specs/support/errors.rb"
+ end
private
def use_library
library == 'true'