Guest User

Untitled

a guest
May 16th, 2018
159
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. require File.join(File.dirname(__FILE__), '/spec_framework.rb')
  2.  
  3. module SpecHelpers
  4.  
  5. def self.included(base)
  6. self.constants.each do |const_name|
  7. base.send(:include, const_get(const_name)) if const_name =~ /^.*SpecHelper$/
  8. end
  9. end
  10.  
  11. module ContactSpecHelper
  12. def valid_contact_attributes(atts={})
  13. returning(atts.dup) do |h|
  14. end
  15. end
  16. end
  17.  
  18. end
Add Comment
Please, Sign In to add comment