daily pastebin goal
44%
SHARE
TWEET

Untitled

a guest May 16th, 2018 113 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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
RAW Paste Data
Top