summaryrefslogblamecommitdiffstats
path: root/spec/support/contact_factory.rb
blob: f05e9a192e036c6ddcd7f5519346ede44555b5d6 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12











                                        
module ContactFactory
  def create_contact_params(params = {})
    par = {
      'name' => 'Contact Name',
      'street' => "Streetname 666",
      'postcode' => "1234",
      'city' => "Someplace Nice",
      'phone' => '98765432',
      'email' => 'band@example.com',
    }.merge(params)
  end
end