Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- require File.join(File.dirname(__FILE__), '/spec_framework.rb')
- module SpecHelpers
- def self.included(base)
- self.constants.each do |const_name|
- base.send(:include, const_get(const_name)) if const_name =~ /^.*SpecHelper$/
- end
- end
- module ContactSpecHelper
- def valid_contact_attributes(atts={})
- returning(atts.dup) do |h|
- end
- end
- end
- end
Add Comment
Please, Sign In to add comment