Sha256: 6cdaf6062ca188ff5e1ff6adb70e8b4984d21159ac1077ef4975556e4f60350f
Contents?: true
Size: 344 Bytes
Versions: 6
Compression:
Stored size: 344 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + '<%= '/..' * class_nesting_depth %>/../spec_helper') describe <%= class_name %>Observer do it "should observe <%= class_name %>" do <%= file_name %> = Factory(:<%= file_name %>) observer = <%= class_name %>Observer.instance observer.after_create(<%= file_name %>) end end
Version data entries
6 entries across 6 versions & 2 rubygems